為什么我寫的同樣代碼不能輸出
public?class?HelloWorld{ ????public?static?void?main(String[]args)?{ ????String?myLove="我愛慕課網"; ????String?myURL="www.xianlaiwan.cn" ????System.out.println(myLove); ????System.out.println(myURL); ???? ????????} ????}
public?class?HelloWorld{ ????public?static?void?main(String[]args)?{ ????String?myLove="我愛慕課網"; ????String?myURL="www.xianlaiwan.cn" ????System.out.println(myLove); ????System.out.println(myURL); ???? ????????} ????}
2016-04-15
舉報
2016-04-15
第四行少個分號來結束語句,第六行的分號是否格式正確(可能是漢語的分號)
2016-04-15
分號的中英文格式,第四行沒寫分號
2016-04-15
第4行沒有 ; ?第6行;是中文的 改回英文的 ;