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 @   刀口舔蜜  阅读(219)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示