Page 4 of 7 Results 31 - 40 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 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: 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: 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: 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: 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: 263
Status: Fixed
Fixed in Build: 17
Reported On: 2019-03-07
Reported By: OCAJ01
Location: 9.3.4
Old Text:
B b = new B(); B b = new B(); //creating B’s object again
New Text:
B b = new B(); B b2 = new B(); //creating B’s object again
Comments:

Pg: 243
Status: Fixed
Fixed in Build: 16
Reported On: 2019-03-02
Reported By: OCAJ01
Location: 9.2.3 abstract and static
Old Text:
class Bed extends Furniture{
New Text:
abstract class Bed extends Furniture{
Comments:
class Bed should be abstract. Although the code still won't compile because of the reason mentioned before.
Pg: 371
Status: Fixed
Fixed in Build: 16
Reported On: 2019-02-24
Reported By: Flex567
Location: 12.5.3
Old Text:
1. default Predicateor(Predicateother) :
New Text:
1. default Predicateand(Predicateother) :
Comments:

Pg: 217
Status: Fixed
Fixed in Build: 16
Reported On: 2019-02-22
Reported By: OCAJ01
Location: 8.6.1 (first code listing)
Old Text:
private age;
New Text:
private int age;
Comments:

Page 4 of 7 Results 31 - 40 of 64