If a method is declared as protected, where may the method be accessed?

  1. Interfaces of the same package and other packages

  2. Classes of the same package

  3. Classes of the same package and other packages

  4. Interfaces of the same package


Correct Option: B,D

Find more quizzes: