文章詳情頁
java編程思想第4版中文版的幾處謬誤?
瀏覽:199日期:2024-02-15 10:53:19
問題描述
問題解答
回答1:書翻譯的不準確,沒了!
這么明顯的問題,明明都知道……
非要別人給你確認一下,你才有自信認為是書的問題而不是自己的問題么?
回答2:英文原文(169頁)是:
It’s important that all of the methods in Cleanser are public.
至于第一個問題,原文(168頁)是:
First, in the Cleanser append() method, Strings are concatenated to s using the += operator, which is one of the operators (along with ’+’) that the Java designers 'overloaded' to work with Strings.
回答3:翻譯的不恰當,應該翻譯為“重載”如果了解C++的話,就知道這個相當于String類對“+=”操作符進行了重新實現,“+=”可以用來進行字符串拼接。
標簽:
java
相關文章:
1. sql語句 - mysql中關聯表查詢問題2. css - chrome下a標簽嵌套img 顯示會多個小箭頭?3. javascript - 如何將一個div始終固定在某個位置;無論屏幕和分辨率怎么變化;div位置始終不變4. html - vue項目中用到了elementUI問題5. javascript - iframe 為什么加載網頁的時候滾動條這樣顯示?6. python - django models 為生成的html元素添加樣式。7. javascript - vscode alt+shift+f 格式化js代碼,通不過eslint的代碼風格檢查怎么辦。。。8. javascript - 有什么比較好的網頁版shell前端組件?9. mysql updtae追加數據sql語句10. javascript - 原生canvas中如何獲取到觸摸事件的canvas內坐標?
排行榜
