请问这段代码有什么错误
public class Hello {
public static void main
( String args[] )
{
System.out.println("hello,java!");
} }
为什么会弹出一个窗口。
the selection does not contain main type;
public class Hello {
public static void main
( String args[] )
{
System.out.println("hello,java!");
} }
为什么会弹出一个窗口。
the selection does not contain main type;
the selection does not contain main type;
一般是main方法句柄问题,但是lz的句柄貌似一切正常看看是不是IDE的问题,Eclipse下跑是没问题地
应该是public static void main(String[] args){
java code ...
}
请问什么是环境变量