java编程思想第4版中文版的几处谬误?
高洛峰
高洛峰 2017-04-18 10:46:11
0
3
884
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(3)
PHPzhong

书翻译的不准确,没了!

Such an obvious problem, everyone knows it...

Do you have to have someone else confirm it for you before you can have the confidence to think that the problem is with the book and not yourself?

左手右手慢动作

The original English text (page 169) is:

It's important that all of the methods in Cleanser are public.

As for the first question, the original text (page 168) is:

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.

阿神

The translation is inappropriate and should be translated as "overloading"
If you know C++, you will know that this is equivalent to the String class reimplementing the "+=" operator. "+=" can be used for string splicing.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!