Page 6 of 7 Results 51 - 60 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 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: 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: 351
Status: Fixed
Fixed in Build: 18
Reported On: 2019-04-24
Reported By: OCAJ01
Location: 12.3.6 point 1
Old Text:
You should change the second line to ld = ld.plusMonths(2).plusDays(10); if you want to see 2018-02-10 in the output.
New Text:
You should change the second line to ld = ld.plusMonths(2).plusDays(10); if you want to see 2018-03-11 in the output.
Comments:

Pg: 353
Status: Fixed
Fixed in Build: 18
Reported On: 2019-04-26
Reported By: OCAJ01
Location: 12.4.1
Old Text:
//insert an object at index 2 al.add(2, "david"); //remove object at index 0 al.remove(0); //process objects in the list for(Object o : al){
New Text:
al.add(2, "david");//insert an object at index 2 al.remove(0);//remove object at index 0 for(Object o : al){ //process objects in the list
Comments:
Comments are off by a line

Page 6 of 7 Results 51 - 60 of 64