為什么輸出里不用加引號(hào)呢
public?class?HelloWorld{ ????public?static?void?main(String[]?args)?{ String?hobby="慕課網(wǎng)"; System.out.println(hobby); } }
public?class?HelloWorld{ ????public?static?void?main(String[]?args)?{ String?hobby="慕課網(wǎng)"; System.out.println(hobby); } }
2016-09-06
舉報(bào)
2016-09-06
加引號(hào)表示字符串,不加引號(hào)是變量
2016-09-06
對(duì),加引號(hào)表示字符串,不加引號(hào)是變量