代碼為什么不能輸出?
public class HelloWorld{ ? ?public static void main(String[] args) { ? ? ? ?String love="我愛慕課網"; ? ? ? ? ? ? ? ?String wz="www.xianlaiwan.cn"; ? ? ? ? ? ?System.out.println(love); ? ? ? ? ? ?System.out.println(wz); }為什么不能輸出呢?找不到毛病啊
public class HelloWorld{ ? ?public static void main(String[] args) { ? ? ? ?String love="我愛慕課網"; ? ? ? ? ? ? ? ?String wz="www.xianlaiwan.cn"; ? ? ? ? ? ?System.out.println(love); ? ? ? ? ? ?System.out.println(wz); }為什么不能輸出呢?找不到毛病啊
2015-10-24
舉報
2015-10-24
public?class?HelloWorld{???? ????public?static?void?main(String[]?args)?{? ????????String?love="我愛慕課網";???????????????? ????????String?wz="www.xianlaiwan.cn";???????????? ????????System.out.println(love);???????????? ????????System.out.println(wz);? ????????} ????????}少了一個大括號
2015-10-24
。。。因為少了一個大括號