Which statement is true about the accessibility of members? Select the one correct answer. (a) A private

Question:

Which statement is true about the accessibility of members?

Select the one correct answer.

(a) A private member is always accessible within the same package.

(b) A private member can be accessed only within the class of the member.

(c) A member with default accessibility can be accessed by any subclass of the class in which it is declared.

(d) A private member cannot be accessed at all.

(e) Package/default accessibility for a member can be declared using the keyword default.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: