The protected modifier specifies that the member can only be accessed within its own package (sic! - just in case) (as with package-private) and, in addition, by a subclass of its class in another package.
http://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html
Комментариев нет
Отправить комментарий