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
提交
取消