Jasper Reports Developer Question:
Download Questions PDF

Suppose if method is declared as protected, where may method be accessed in Java Programming?

Answer:

A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.

Download Jasper Reports Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Which state does thread enter when it terminates its processing in Java Programming?Define Vector class in Java Programming?