1.

What Is Protected ?

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.

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.



Discussion

No Comment Found