這個怎么錯了呀
public class HelloWorld{
? ? public static void main(String[] args) {
String a1="我愛慕課網(wǎng)";
? ? ? ? String a2="idcbgp.cn";
? ? ? ? System.out.println(a1);
System.out.println(a2);
}
}
public class HelloWorld{
? ? public static void main(String[] args) {
String a1="我愛慕課網(wǎng)";
? ? ? ? String a2="idcbgp.cn";
? ? ? ? System.out.println(a1);
System.out.println(a2);
}
}
2016-05-18
舉報
2016-05-18
分號要英文。。檢查輸入法。你肯定是輸入中文后忘記調(diào)舒服法了。
2016-05-18
String a1="我愛慕課網(wǎng)";//你看一下你的分號,那個是中文的,標(biāo)準(zhǔn)的必須是英文才行