Mastering Java: The Ultimate 2026 All-In-One Quiz to Excel in 'Thinking in Java

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