Java 新手區 - [新手必看] Java字串的比較 ... hellfire wrote: str1做了兩件事 創造"hello"字串放到pool中 再根據它的內容做出一個新的字串 str2則是從pool中取得"hello"
www.javaworld.com.tw