阅读背景:

如何从静态方法输入非静态方法

来源:互联网 
CollegeTester.java:10: error: non-static method getCommand() cannot be referenced from a static context
        getCommand();//goes to command
    ^
CollegeTester.java:10: error: non-static method



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

分享到: