Page 1 of 7 Results 1 - 10 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 9
Status: Fixed
Fixed in Build: 21
Reported On: 2019-10-03
Reported By: nk2164
Location: 1.4 second last sentence
Old Text:
Similarly, if you change one reference to point to some other object, that doesn’t change other references pointing to the that object.
New Text:
Similarly, if you change one reference to point to some other object, that doesn’t change other references pointing to that object.
Comments:
Remove extra "the"
Pg: 272
Status: Fixed
Fixed in Build: 07
Reported On: 2018-10-17
Reported By: Arold Aroldson
Location: 10.2.0 - differentiate-among-checked-exceptions-unchecked-exceptions-and-errors
Old Text:
Diagram showing various exceptions shows ClassCastException under checked exceptions
New Text:
Diagram showing various exceptions shows ClassCastException under unchecked exceptions
Comments:
Associated text is correct. Only the diagram is incorrect.
Pg: 292
Status: Fixed
Fixed in Build: 08
Reported On: 2018-11-20
Reported By: --
Location: 10.4 - Exceptions thrown by Application Programmer
Old Text:
$\vert$$\vert$
New Text:
||
Comments:
Mistake in typesetting of the paperback version. Kindle version is fine.
Pg: 294
Status: Fixed
Fixed in Build: 17
Reported On: 2019-03-19
Reported By: OCAJ01
Location: 10.4 Exceptions thrown by Application Programmer
Old Text:
datatype != 1 || datatype != 2
New Text:
datatype != 1 && datatype != 2
Comments:
Not relevant to the discussion but incorrect nonetheless.
Pg: 308
Status: Fixed
Fixed in Build: 19
Reported On: 2019-05-16
Reported By: natasci
Location: 11.3.1 (Under "the ClassCastException")
Old Text:
Mango m = new Mango(); Apple a = (Mango) m;
New Text:
Mango m = new Mango(); Apple a = (Apple) m;
Comments:

Pg: 320
Status: Fixed
Fixed in Build: 17
Reported On: 2019-03-27
Reported By: OCAJ01
Location: 11.5.2
Old Text:
if( ! x instanceof X ) return false;
New Text:
if( ! (x instanceof X) ) return false;
Comments:
x instanceof X should be in brackets
Pg: 351
Status: Fixed
Fixed in Build: 15
Reported On: 2019-01-21
Reported By: Username987654
Location: 11.5.2 last line
Old Text:
Since the declared type of the variable x1 is Object,...
New Text:
Since the declared type of the variable x2 is Object,...
Comments:
The variable being passed as an argument is x2 and its declared type is Object.
Pg: 322
Status: Fixed
Fixed in Build: 18
Reported On: 2019-04-10
Reported By: OCAJ01
Location: 11.6 Exercise 2
Old Text:
System.out.println(r.getChannel()); //should print 0
New Text:
System.out.println(t.getChannel()); //should print 0
Comments:

Pg: 345
Status: Fixed
Fixed in Build: 19
Reported On: 2019-05-23
Reported By: Username987654
Location: 12.3.2 Creating a Date/Time object using the static parse methods
Old Text:
You need to be aware of three such variables - ISO DATE, ISO TIME, and ISO DATE TIME - because when you don’t pass a formatter to the parse methods, these are the formatters that the parse methods use internally to parse the string. Lo- calDate uses ISO DATE, LocalTime uses ISO TIME, and LocalDateTime uses ISO LOCAL DATE TIME to parse the given string. Thus, for example, invoking LocalDate.parse("2018-02-14"); will produce the same result as invoking LocalDate.parse("2018-02-14", DateTimeFormat- ter.ISO DATE);
New Text:
You need to be aware of three such variables - ISO_LOCAL_DATE, ISO_LOCAL_TIME, and ISO_LOCAL_DATE_TIME - because when you don’t pass a formatter to the parse methods, these are the formatters that the parse methods use internally to parse the string. Lo- calDate uses ISO_LOCAL_DATE, LocalTime uses ISO_LOCAL_TIME, and LocalDateTime uses ISO_LOCAL_DATE_TIME to parse the given string. Thus, for example, invoking LocalDate.parse("2018-02-14"); will produce the same result as invoking LocalDate.parse("2018-02-14", DateTimeFormat- ter.ISO_LOCAL_DATE);
Comments:
The default formatters use the "local" versions. So, ISO_DATE should changed to ISO_LOCAL_DATE and so on.
Pg: 252
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-31
Reported By: ardurn
Location: 12.3.4 point 4
Old Text:
Using the isEquals method - ... isBefore/isAfter/isEquals
New Text:
Using the isEqual method - ... isBefore/isAfter/isEqual
Comments:

Page 1 of 7 Results 1 - 10 of 64