HelloWorld有誤嗎
public?static?void?main(String[]?args)?{ ?String?first="我愛慕課網(wǎng)"; ?String?second=; ?System.out.println(+first); ?System.out.println(+second);
public?static?void?main(String[]?args)?{ ?String?first="我愛慕課網(wǎng)"; ?String?second=; ?System.out.println(+first); ?System.out.println(+second);
2017-07-28
舉報
2018-07-02
?
String?second=;
沒有被賦值,
不需要加號
2017-07-28
不用加號吧