cmd显示错误: 需要class, interface或enum
原因F:\>javac HelloWorld.java
HelloWorld.java:1: 错误: 需要class, interface或enum
Public class HellowWorld{
^
1 个错误
代码Public class HellowWorld{
public static void main(String[] args){
System.out.println("welcome to imooc!");
}
}