哪里錯了,求指導(dǎo)
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-19
舉報
2016-10-21
a,b的原因后面加點東西就好了
2016-10-19
命名字符串不能用單個字母a,b,c,,,,,,java對大小寫敏感
2016-10-19
有錯誤最好在ecplice上是一些,一些低級錯誤會自動提示
2016-10-19
對,樓上說的對,大小寫的問題。你這樣寫,編譯都過不了
2016-10-19
大小寫問題吧
2016-10-19
程序沒有錯誤,就是你沒分清楚大小寫。String,System,你都小寫了。