J2SE Question:

Download Job Interview Questions and Answers PDF

What is protected?

J2SE Interview Question
J2SE Interview Question

Answer:

A Java keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by elements residing in its class, subclasses, or classes in the same package.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is POA?What is profiles?