Skip to content
Sign in
Java Concepts and Its Programming

Suppose a class has public visibility. In this class we define a protected method. Which of the following statements is correct ?

Tap an option to check the answer. You can also press A–D.

Show answer

Correct answer: D) This method is accessible from within the class itself and from within all classes defined in the same package as the class itself.

No explanation yet.