我测试了friendly可见性质。
my.Class1
my.sub.Class2两个类里面缺省access specifiers是不可以互相访问的。
说明my and my.sub is not the same package, but what is the relation between my and my.sub package? who can tell me ?
我测试了friendly可见性质。 my.Class1 my.sub.Class2两个类里面缺省access specifiers是不可以互相访问的。 说明my and my.sub is not the same package, but what is the relation between my and my.sub package? who can tell me ?