Mushfiq Mammadov wrote:1. On page 210, the second example, TraditionalSearch class doesn’t compile:
Text Editor helped me to see that this class doesn’t compile so import java.util.*; is missing. The line starts 1 therefore it should be import or line shouldn’t start 1. If line numbers change that line 9 and line 11 change respectively (in the explanation after example)
Mushfiq Mammadov wrote:2. On page 215, example code, import is missing again:
The line starts 3. If line 1 is class name and line 2 is method declaration, import java.util.*; is missing again.
Mushfiq Mammadov wrote:3. On page 216, “Summary” section, the last paragraph:
should be: or
Mushfiq Mammadov wrote:Review questions
4. On page 222, question #11:
Space ( “ “ ) is missing after “climb climb” and “swing swing” in option D and E. “swing swing” should be “swing swing ” but option D is not important.
Mushfiq Mammadov wrote:5. On page 226, question #19:
Option G:
should be:
Mushfiq Mammadov wrote:6. On page 229, question #25:
Space ( “ “ ) is missing in all options. Option A (maybe E) is important, “2 4” should be “2 4 ”.
Mushfiq Mammadov wrote:Mock explanation
7. On page 344, answer #10:
Space ( “ “ ) is missing in the second sentence, “swing” should be “swing “.
Mushfiq Mammadov wrote:8. On page 345, answer #23:
“line 4” should be “line 12” and “line 5” should be “line 13” in all sentences.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:For all we know, the code could be:
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:Yeah well. Then imagine it says:
Roel De Nijs wrote:
Jeanne Boyarsky wrote:Yeah well. Then imagine it says:
Much better! And because I'm in a very good mood, I'll imagine the 2 closing curly braces at the end of the code snippet as well![]()
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:assume anything you don't see is correct when line numbers are present that don't begin with 1.
I once met a man from Nantucket. He had a tiny ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|