J2SE Question:

What is protected?

Tweet Share WhatsApp

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 PDF Read All 214 J2SE Questions
Previous QuestionNext Question
What is POA?What is profiles?