DEVFYI - Developer Resource - FYI

What is protected

J2SE Interview Questions and Answers


(Continued from previous question...)

181. What is protected

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.

(Continued on next question...)

Other Interview Questions