求指教哪錯了?為什么運行不出來?
public class HelloWorld{
? ? public static void main(String[] args) {
String hobby="我愛慕課網(wǎng)";
? ? String My="idcbgp.cn";
? ? ?System.out.println(hobby);
? ? ? System.out.println(My);
? ??}
}
public class HelloWorld{
? ? public static void main(String[] args) {
String hobby="我愛慕課網(wǎng)";
? ? String My="idcbgp.cn";
? ? ?System.out.println(hobby);
? ? ? System.out.println(My);
? ??}
}
2015-11-02
舉報
2015-11-02
這一行分號錯了,改成英文分號即可