首页
编程
java
php
前端
首页
编程
java
php
前端
静态变量非法 找不出其他问题 不能run
除了有main方法的类,其他类前面的public删除即可。
一个文件中只能有一个public类,有main方法的类必须为public类,并且必须与文件同名。
点击展开全文