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貢獻(xiàn)3條經(jīng)驗(yàn) 獲得超1個(gè)贊
這是一個(gè)例子,你可以把它放到j(luò)ava文件中,我估計(jì)是你的main方法有問(wèn)題,沒(méi)有源碼只能猜測(cè)
public class FirstJavaCode{
? ? public static void main(String[] args){
? ? ? ? System.out.println("abc");
? ? }
}
添加回答
舉報(bào)
0/150
提交
取消