阅读背景:

从Java中的另一个类调用方法不起作用?

来源:互联网 

So I have two java files (with one public class in each) inside the same package saved in the same folder. The folder hierarchy reflects the package name. Now, inside one of the classes, I would like to call a method from the other class. As far as I am concerned, this can be done by calling: So I have two java files (with one public class




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

分享到: