最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定

這樣編輯怎么也是錯誤的

ic class HelloWorld{

? ? public static void main(String[] args) {

? ? String a="我愛慕課網(wǎng)";

? ? ? ? String b="yifanck.cn";

? ? ? ??

? ? ? ? String.out.println(a+"\n"+b);

}

}


正在回答

1 回答

Syntax error on token "Invalid Character", ; expected ?非法字符“;”為全角

out cannot be resolved or is not a field,這行新手理解起來可能比較困難,提示沒有找到out(屬性)。System打成String,運行時會調(diào)用System類下的out,實際上out是個Static類型內(nèi)部類。在調(diào)用out.println(..);

	public?static?void?main(String[]?args)?{
		String?a?=?"我愛慕課網(wǎng)";?//分號半角,Syntax?error?on?token?"Invalid?Character",?;?expected??
		String?b?=?"?//分號半角?

		System.out.println(a?+?"\n"?+?b);?//?String.out.println(a+"\n"+b);提示out?cannot?be?resolved?or?is?not?a?field,
	}


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

ll5353231 提問者

非常感謝!
2015-08-13 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

這樣編輯怎么也是錯誤的

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號