J Deckarm wrote:The collections hierarchy figure on page 590 is numbered "figure 7-2", yet we are in chapter 11, should be likely "figure 11-2"
Anton Vargas wrote:Chapter 1
Launching applications with java
java -version MyClass 1
Explained as "show me JVM version, launch MyClass.class and pass 2 arguments".
But, java ignores everything after -version, right?
Paddy O Riley wrote:Chapter 6 pg 351/7/8 AssertionError
The term "AssertionError" first appears on page 351 for the OCA exam and is again mentioned on 357/8. No definition or explanation is provided as to what this is and neither is there any comment of the form "Assertions are covered in detail for the OCP exam but for the OCA exam you just need to know ..... <fill in what is necessary for the OCA exam>".
Paddy O Riley wrote:Is the expectation that we should know about Assertions etc from our own experience for the OCA exam or is some extra info required in the book to position us for the OCA exam in this regard ?
Charles Lewis wrote:page 929
So when a Connection is closed, any Statement created from that Connection is also closed, and likewise, when a Statement is closed, any ResultSet created using thatResultSetis also closed.
I propose "Statement"
Zhifu Ge wrote:Chapter 12: Inner Classes, page 688, first 3 lines:
"From outside the outer class instance code (including static method code within the outer class), the inner class name must now include the outer class's name:
MyOuter.MyInner"
I found that if you try to declare a reference variable of MyInner from the static method code within the outer class, you don't have to use the "fully qualified" name like MyOuter.MyInner, just MyInner will suffice.
Zhifu Ge wrote:Page 524, 1st sentence (it's in the parentheses), last paragraph, the class name should be StandardWatchEventKinds, not StandardWatchEventsKinds.
Zhifu Ge wrote:Page 515, code block at the end of the page, 5th line to the last,
Currently:
Should be :
pablo santamarta esteban wrote:Chapter 9 I/O and NIO page 515[i]
At the bottom of the page, in the source code sample, inside the overriding visitFile method:
Says:
if (file.getFileName().endsWith(".class"))
Files.delete(file);
Should be:
if (file.getFileName().toString().endsWith(".class"))
Files.delete(file);
J Deckarm wrote:Chapter 1, page 62
Each of the enumerated CoffeeSize types is actually an instance of CoffeeSize
should be likely
Each of the enumerated CoffeeSize values is actually an instance of CoffeeSize?
Rijk van de Scheur wrote:Chapter 7: Assertions and Java 7 Exceptions, Self test question 8, page 410/411
Question 8 answer D and E are identical.
[a-fA-F] Searches for the first six letters of the alphabet, both cases.
So, for instance,
source: "cafeBABE"
index: 01234567
pattern: [a-cA-C]
returns positions 0, 1, 4, 5, 6
- catch
- An ArrayIndexOutOfBoundsException is thrown
- finally
- An ArrayIndexOutOfBoundsException is thrown
John Lerry wrote:there is an error in an answer to a quiz (OCP Objective - 6.0 Exceptions and Assertions) on the cd.
but it should be this:
- finally
- An ArrayIndexOutOfBoundsException is thrown
Rijk van de Scheur wrote:Chapter 8: Minor error in the NumberFormat Class example (page 429)
The second line of the example is:
Rijk van de Scheur wrote:Chapter 8: typo in par. Locating Data via Pattern Matching (page 443)
java.util.regex.Pattarn has to be java.util.regex.Pattern
Chad Philip Johnson wrote:Chapter 08, page 467
The given input: is actually translated into the String by bash before it is passed to the program. $7 is taken to be a variable without a value assigned to it.
John Lerry wrote:there is an error in an answer to a quiz (OCP Objective - 1.0 Java Class Design) on the cd.
I think the correct answers are A and E because it asks you to find which will NOT compile.
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|