当前位置: 技术问答>java相关
jbuilder菜鸟问题
来源: 互联网 发布时间:2015-04-30
本文导语: 我运行jbuilder时候出现 "ApplicationGraphicsInOut.java": Error #: 475 : class ApplicatonGeographicsInOut is public; must be declared in a file named ApplicatonGeographicsInOut.java at line 13, column 8 请问如何解决 | ...
我运行jbuilder时候出现
"ApplicationGraphicsInOut.java": Error #: 475 : class ApplicatonGeographicsInOut is public; must be declared in a file named ApplicatonGeographicsInOut.java at line 13, column 8
请问如何解决
"ApplicationGraphicsInOut.java": Error #: 475 : class ApplicatonGeographicsInOut is public; must be declared in a file named ApplicatonGeographicsInOut.java at line 13, column 8
请问如何解决
|
你的文件名应该为ApplicatonGeographicsInOut.java
或者简单一点,申明ApplicatonGeographicsInOut类时把前面的public去掉
或者简单一点,申明ApplicatonGeographicsInOut类时把前面的public去掉
|
must be declared in a file named ??
没有声明就开始使用,太狠了吧
没有声明就开始使用,太狠了吧
|
一个JAVA文件中,
只能有一个类声明为PUBLIC
只能有一个类声明为PUBLIC