Page 4 of 7 Results 31 - 40 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 261
Status: Fixed
Fixed in Build: 17
Reported On: 2019-03-09
Reported By: OCAJ01
Location: 9.3.2 - Constructor chain diagram
Old Text:
-
New Text:
-
Comments:
In the flowchart illustrating the constructor chain flow, the print statements of the two Employee constructors need to be swapped.
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: 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: 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
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: 71
Status: Fixed
Fixed in Build: 18
Reported On: 2019-04-08
Reported By: natasci
Location: 3.3 Assigning float to int or double to long and vice-versa
Old Text:
long g = 9223372036854775807; //Long.MAX_VALUE;
New Text:
long g = 9223372036854775807L; //Long.MAX_VALUE;
Comments:
L is missing.
Pg: 192
Status: Fixed
Fixed in Build: 19
Reported On: 2019-05-10
Reported By: natasci
Location: 8.3.2 last para
Old Text:
f.baz()
New Text:
f.boz()
Comments:
Change the baz to boz in the code and the text below because the method baz is private in Foo while baz is not.
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:

Page 4 of 7 Results 31 - 40 of 64