文章详情页
java编程思想第4版中文版的几处谬误?
问题描述
问题解答
回答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. angular.js - angular 双向选框组件2. angular.js - 在用会话存储传递参数时,使用angularjs冲突3. angular.js - angular 引入 jweixin的问题4. angular.js - $emit(,)的具体意思是什么作用呢?5. jquery - angularjs的数据为什么渲染不到页面上?数据获取到了,我的代码哪里出了错了?6. node.js - 怎么在初始化的时候使得一个子组件不加载?7. angular.js - 请教angularjs里html和js通信的问题8. angular.js - 用angular2-cli打包项目之后,跳转路由刷新会报404的错误9. angular.js - angular post的Content-Type被设置,导致不能上传图片,求助!!10. angular.js - AngularJS v1.5.8 在IE9中出现灰屏,不启动的问题。
排行榜