java字符串連接操作符「+」之謎

1. 3+3=33? 2. char[] test = {'1','2','3'}; System.out.print("test"+test);輸出test=123嗎?? 3. "hello world" 不等於"hello"+"world"??? 4.「hello world" 也不等於」hello world「???? 測試代碼及結果如下: 解惑: 1.衆所周知,+號除了有加法功能外,最多的
相關文章
相關標籤/搜索