文章详情页
java编程思想第4版中文版的几处谬误?
浏览:140日期: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. java - 创建maven项目失败了 求解决方法2. node.js - 函数getByName()中如何使得co执行完后才return3. 一个走错路的23岁傻小子的提问4. python - 如何使用pykafka consumer进行数据处理并保存?5. javascript - SuperSlide.js火狐不兼容怎么回事呢6. 运行python程序时出现“应用程序发生异常”的内存错误?7. 主从备份 - 跪求mysql 高可用主从方案8. javascript - git clone 下来的项目 想在本地运行 npm run install 报错9. mysql主从 - 请教下mysql 主动-被动模式的双主配置 和 主从配置在应用上有什么区别?10. python - django 里自定义的 login 方法,如何使用 login_required()
排行榜
