Which statements about the use of modifiers are true? Select the two correct answers. (a) If no

Question:

Which statements about the use of modifiers are true?

Select the two correct answers.

(a) If no accessibility modifier (public, protected, or private) is specified for a member declaration, the member is accessible only by classes in the package of its class and by subclasses of its class in any package.

(b) You cannot specify accessibility of local variables. They are accessible only within the block in which they are declared.

(c) Subclasses of a class must reside in the same package as the class they extend.

(d) Local variables can be declared as static.

(e) The objects themselves do not have any accessibility modifiers; only field references do.

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

Step by Step Answer:

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