Answer to Question #630 in Java | JSP | JSF for Tom
How to define the class field available only to its sub-classes in Java?
You have to specify the keyword «protected» while declaring the variable. After that the variable will be "visible" only to sub-classes.
No comments. Be first!