阅读背景:

Java - 包私有类中的方法可访问性?

来源:互联网 

If I have a java class which is package-private (declared with "class", not "public class"), there is really no difference if the methods inside are declared public or protected or package-private, right? So which should I use, or when should I use which? I'm a bit confused.If I have a java class which is package-private




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: