Page 6 of 7 Results 51 - 60 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 42
Status: Fixed
Fixed in Build: 25
Reported On: 2020-02-07
Reported By: javiut
Location: 2.2.5 Quiz
Old Text:
Correct answer is B.
New Text:
Correct answer is B and E. Option E is correct because a Java source file contains three parts package declaration, import statements, and type declarations. All of them are optional.
Comments:

Pg: 36
Status: Fixed
Fixed in Build: 25
Reported On: 2020-02-07
Reported By: javiut
Location: 2.2.2 Stucture 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. --- On Page 37, the line, "A Java source file must define at least one Java reference type definition in it." must be deleted.
Comments:
All of the three parts are optional.
Pg: 59
Status: Fixed
Fixed in Build: 25
Reported On: 2020-02-23
Reported By: karthiknk81
Location: 3.1 (Table of Data types)
Old Text:
'\uo0061'
New Text:
'\u0061'
Comments:

Pg: 174
Status: Fixed
Fixed in Build: 26
Reported On: 2020-02-15
Reported By: javiut
Location: 7.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: 195
Status: Fixed
Fixed in Build: 26
Reported On: 2020-02-22
Reported By: javiut
Location: 8.3.4 Importing static field
Old Text:
Java 7
New Text:
Java 5
Comments:
import static statement was added in Java 5.
Pg: 167
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-06
Reported By: ardurn
Location: 7.5.2 Syntax of the enhanced for loop
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 375
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-31
Reported By: ardurn
Location: 12.5.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 isEquals instead of isEquals.
Pg: 252
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-31
Reported By: ardurn
Location: 12.3.4 point 4
Old Text:
Using the isEquals method - ... isBefore/isAfter/isEquals
New Text:
Using the isEqual method - ... isBefore/isAfter/isEqual
Comments:

Pg: 106
Status: Fixed
Fixed in Build: 29
Reported On: 2020-04-15
Reported By: ruidanielribeiro
Location: 4.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: 195
Status: Fixed
Fixed in Build: 30
Reported On: 2020-04-06
Reported By: javiut
Location: 8.3.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:

Page 6 of 7 Results 51 - 60 of 64