Look at the CMD picture, it was fine after compiled, but why did it not print the code what I programmed in java file? Does it has some problem in my environment variables? Who can help me? Thank you.
1 回答
yes居然被占用
TA贡献3条经验 获得超1个赞
这是一个例子,你可以把它放到java文件中,我估计是你的main方法有问题,没有源码只能猜测
public class FirstJavaCode{
public static void main(String[] args){
System.out.println("abc");
}
}
添加回答
举报
0/150
提交
取消