Page 3 of 4 Results 21 - 30 of 34

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 74
Status: Fixed
Fixed in Build: 1.16
Reported On: 2020-02-07
Reported By: javiut
Location: 4.3.2 Structure of a Java class
Old Text:
Part 3: one or more reference type (i.e. class, interface, or enum) definitions. ...
New Text:
Part 3: zero or more reference type (i.e. class, interface, or enum) definitions. --- The line, "A Java source file must define at least one Java reference type definition in it." must be deleted.
Comments:
All the three parts are optional.
Pg: 180
Status: Fixed
Fixed in Build: 1.18
Reported On: 2020-02-15
Reported By: javiut
Location: 8.7.2 breaking out of and continuing with nested loops - What is a loop
Old Text:
BAD2 : x++; //can’t apply a label to expressions
New Text:
This line should be removed.
Comments:
It is possible to label an expression statement.
Pg: 237
Status: Fixed
Fixed in Build: 1.19
Reported On: 2020-02-22
Reported By: javiut
Location: 10.5.4 Importing static fields
Old Text:
Java 7
New Text:
Java 5
Comments:
import static statement was added in Java 5.
Pg: 45
Status: Fixed
Fixed in Build: 1.19
Reported On: 2020-02-23
Reported By: karthiknk81
Location: 3.1 (Table of Data types)
Old Text:
'\uo0061'
New Text:
'\u0061'
Comments:

Pg: 173
Status: Fixed
Fixed in Build: 1.20
Reported On: 2020-03-06
Reported By: ardurn
Location: 8.5.2 Syntax of the enhanced for loop
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 358
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-03-31
Reported By: ardurn
Location: 14.1.3 Last line of point 4
Old Text:
You could create a Predicate out of the equals method like this - Predicate equals = Predicate.isEquals(c1);.
New Text:
You could create a Predicate out of the equals method like this - Predicate equals = Predicate.isEqual(c1);.
Comments:
It should be isEqual instead of isEquals.
Pg: 237
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-04-06
Reported By: javiut
Location: 10.5.3 Last code snippet
Old Text:
System.out.println(InstanceCounter.printCount()+" "+InstanceCounter.count);
New Text:
InstanceCounter.printCount(); //accessing static method using the class name System.out.println(InstanceCounter.count); //accessing static field using the class name
Comments:

Pg: 402
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-04-14
Reported By: wombat747
Location: 16.1.1 Under Compiling individual module source files
Old Text:
c:\ocp11\moduletest>javac -d out\simpleinterest src\simpleinterest\module- info.java src\simpleinteres\simpleinterest SimpleInterestCalculator.java
New Text:
c:\ocp11\moduletest>javac -d out\simpleinterest src\simpleinterest\module- info.java src\simpleinteres\simpleinterest\SimpleInterestCalculator.java
Comments:
There should be \ insteadof a space between src\simpleinteres\simpleinterest and SimpleInterestCalculator.java
Pg: 198
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-04-15
Reported By: ruidanielribeiro
Location: 9.3.1 step 2
Old Text:
Next, you can set iaaa[0][0] to point to an array of 4 ints using iaaa[0][0] = new int[]{ 1, 2, 3, 4}; or iaaa[0][0] = { 1, 2, 3, 4};
New Text:
Next, you can set iaaa[0][0] to point to an array of 4 ints using iaaa[0][0] = new int[]{ 1, 2, 3, 4};
Comments:
The "or iaaa[0][0] = { 1, 2, 3, 4}; " should be removed because it works only at the time of declaration.
Pg: 182
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-05-12
Reported By: saregg
Location: 8.8 First para
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Page 3 of 4 Results 21 - 30 of 34