文章详情页
java编程思想第4版中文版的几处谬误?
浏览:283日期: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. dockerfile - [docker build image失败- npm install]2. docker网络端口映射,没有方便点的操作方法么?3. docker-compose中volumes的问题4. boot2docker无法启动5. docker gitlab 如何git clone?6. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””7. docker api 开发的端口怎么获取?8. mysql - phpmyadmin怎么分段导出数据啊?9. dockerfile - 我用docker build的时候出现下边问题 麻烦帮我看一下10. docker不显示端口映射呢?
排行榜

网公网安备