Page 2 of 5 Results 11 - 20 of 45

Errata Entries Order by:  Page Number  Reported By  Reported On
Pg: 362
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
Reported On: 2019-05-21
Reported By: natasci
Location: 12.4.2 example 4
Old Text:
list1.add(list2);
New Text:
list1.addAll(list2);
Comments:

Pg: 369
Status: Fixed
Fixed in Build: Build 14, 2019-01-26
Reported On: 2018-12-11
Reported By: Flex567
Location: 12.5.2 - Parts of a Lambda expression
Old Text:
(a, b, c) -> a + b + c; //valid ... a ->a + 2; //valid a - >return a + 2; //invalid, must not have return keyword
New Text:
(a, b, c) -> a + b + c //valid ... a ->a + 2 //valid a - >return a + 2 //invalid, must not have return keyword
Comments:
Sample lambda expressions should not have semi-colons at the end.
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:

Pg: 44
Status: TBF
Fixed in Build: -
Reported On: 2019-07-29
Reported By: Username987654
Location: 2.4.1
Old Text:
Thus, you cannot use the simple name Values in your code if you haven’t imported taxes.* or taxes.Test already using the regular import statement.
New Text:
Thus, you cannot use the simple name Values in your code if you haven’t imported taxes.* or taxes.Values already using the regular import statement.
Comments:
taxes.Test should be changed to taxes.Values.
Pg: 51
Status: TBF
Fixed in Build: -
Reported On: 2019-07-30
Reported By: Username987654
Location: 2.7
Old Text:
If a subclass overrides a method of a base class and if the object referred to by a variable is of type subclass, then the subclass’s version of the method is used even if the declared type of the variable is of base class. This is also called .
New Text:
If a subclass overrides a method of a base class and if the object referred to by a variable is of type subclass, then the subclass’s version of the method is used even if the declared type of the variable is of base class. This is also called dynamic binding.
Comments:
The words "dynamic binding" are missing at the end.
Pg: 51
Status: Fixed
Fixed in Build: Build 12, 2019-01-06
Reported On: 2019-01-02
Reported By: OCAJO1
Location: 2.7 Compare and contrast the features and components of Java - Point 6
Old Text:
A Java application can be run with a .
New Text:
A Java application can be run with a Security Manager.
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: 61
Status: TBF
Fixed in Build: -
Reported On: 2019-07-30
Reported By: Username987654
Location: 3.3.1
Old Text:
Object obj2 = obj; //initializing obj using another reference
New Text:
Object obj2 = obj; //initializing obj2 using another reference
Comments:

Pg: 71
Status: Fixed
Fixed in Build: Build 9, 2018-11-26
Reported On: 2018-11-26
Reported By: Username987654
Location: 3.3.3 - Assigning float to int or double to long and vice-versa
Old Text:
Two errors - 1. Part of the sentence, "Java allows such assignments without a cast because it is possible to get back the exact same int or long value from a float or a double if you round them off." must be removed. 2. The statement, "i = f1; //will not compile" in the code should be removed.
New Text:
Java allows such assignments without a cast nonetheless.
Comments:

Pg: 68
Status: Fixed
Fixed in Build: Build 14, 2019-01-26
Reported On: 2019-01-10
Reported By:
Location: 3.3.3 - Assigning values to variables - primitive assignment
Old Text:
For example, you know that the size of a byte (8 bits) is smaller than the size of an int (16 bits)
New Text:
For example, you know that the size of a byte (8 bits) is smaller than the size of an int (32 bits)
Comments:

Page 2 of 5 Results 11 - 20 of 45