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