Page 2 of 5 Results 11 - 20 of 45

Errata Entries Order by:  Page Number  Reported By  Reported On
Pg: 353
Status: Fixed
Fixed in Build: Build 18, 2019-05-01
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: 351
Status: Fixed
Fixed in Build: Build 18, 2019-05-01
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: Build 18, 2019-05-01
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: Build 18, 2019-05-01
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: Build 17, 2019-04-01
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: Build 17, 2019-04-01
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: Build 17, 2019-04-01
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: Build 17, 2019-04-01
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: Build 16, 2019-03-04
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: Build 16, 2019-03-04
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:

Page 2 of 5 Results 11 - 20 of 45