Java access control

Java provides access specifiers to allow the library creator to say what
is available to the client programmer and what is not. The levels of access control from “most
access” to “least access” are public, protected, package access (which has no keyword), and
private.

posted @ 2013-02-27 09:02  刀口舔蜜  阅读(216)  评论(0编辑  收藏  举报