Mastering Java: The Ultimate Quiz for 'Thinking in Java' 2026 - Free Java Programming Practice Questions and Study Guide

Question: 1 / 510

What is package access also known as?

Private access

Protected access

Public access

Friendly access

Package access, also known as friendly access, grants access to members within the same package. The other options are incorrect because

A) Private access only allows access to members within the same class.

B) Protected access allows access to members within the same package and any subclasses, not just members within the same package.

C) Public access allows access to all classes and packages.

Get further explanation with Examzify DeepDiveBeta
Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy