請問 下面這個為什么不對?
public class HelloWorld{
? ? public static void main(String[] args) {
String a="我愛慕課網(wǎng)";
? ? String b="idcbgp.cn";
? ? System.out.println(a);
System.out.println(b);
}
}
public class HelloWorld{
? ? public static void main(String[] args) {
String a="我愛慕課網(wǎng)";
? ? String b="idcbgp.cn";
? ? System.out.println(a);
System.out.println(b);
}
}
2016-10-18
舉報
2016-10-18
我復(fù)制你的代碼。發(fā)現(xiàn)“我愛慕課”后面的分號是中文分號
2016-10-18
謝謝你的回答?
2016-10-18
謝謝你的回答?
2016-10-18
String a="我愛慕課網(wǎng)";
分號不對,改成英文的