Page 2 of 4 Results 11 - 20 of 35

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 345
Status: Fixed
Fixed in Build: 1.10
Reported On: 2019-10-16
Reported By: DazedTurtle
Location: 13.3.8 Quiz Option E
Old Text:
E. A call to process(map); can be inserted in the process method of SubClass.
New Text:
E. A call to super.process(map); can be inserted in the process method of SubClass.
Comments:
process(map) should be changed to super.process(map).
Pg: 403
Status: Fixed
Fixed in Build: 1.10
Reported On: 2019-10-22
Reported By: DazedTurtle
Location: 16.2.2 Packaging a module
Old Text:
Running this module is now a piece of cake: c:\ocp11\moduletest>java --module-path . --module com.abc.finance.calculators.simpleinterest
New Text:
Running this module is now a piece of cake: c:\ocp11\moduletest>java --module-path . --module simpleinterest
Comments:
The name of the module is simpleinterest and not com.abc.finance.calculators.simpleinterest
Pg: 125
Status: Fixed
Fixed in Build: 1.9
Reported On: 2019-10-06
Reported By: Fedor Lvovich Dobrotvorskii
Location: Assignment Operators
Old Text:
Simple assignment - It simply copies the value on the left to the variable on the right.
New Text:
Simple assignment - It simply copies the value on the right to the variable on the left.
Comments:
left and right are switched.
Pg: 134
Status: Fixed
Fixed in Build: 1.9
Reported On: 2019-10-06
Reported By: Fedor Lvovich Dobrotvorskii
Location: 6.1.5 Numeric Promotion and Casting
Old Text:
byte b = 1; short s = -b; System.out.println(b);
New Text:
byte b = 1; short s = -b; System.out.println(s);
Comments:
It should print s instead of b.
Pg: 148
Status: Fixed
Fixed in Build: 1.10
Reported On: 2019-10-12
Reported By: Fedor Lvovich Dobrotvorskii
Location: Dangling else
Old Text:
If we go by the first interpretation, the code will print b, and ...
New Text:
If we go by the first interpretation, the code will print c, and
Comments:
b should be changed to c
Pg: 39
Status: Fixed
Fixed in Build: 1.16
Reported On: 2020-02-01
Reported By: javiut
Location: 2.3.3 Option 3
Old Text:
Option 3: From Java 7 onwards...
New Text:
Option 3: From Java 5 onwards...
Comments:

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.

Page 2 of 4 Results 11 - 20 of 35