Page 1 of 7 Results 1 - 10 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 86
Status: Fixed
Fixed in Build: 32
Reported On: 2020-06-30
Reported By: kowenli
Location: S.5.3 step 7
Old Text:
Step 7: At line 9, a new object is created and assigned to baz. Thus, bar stops pointing to obj 1 and starts pointing to obj 3 after the execution of this line.
New Text:
Step 7: At line 9, a new object is created and assigned to baz. Thus, baz stops pointing to obj 1 and starts pointing to obj 3 after the execution of this line.
Comments:
Change bar to baz on second line
Pg: 182
Status: Fixed
Fixed in Build: 31
Reported On: 2020-06-04
Reported By: addy12345
Location: 8.1.2 - Returning values of different types from a method - Point 2 Autoboxing/Unboxing
Old Text:
Java allows a return value to be a reference to a wrapper class if the return type is of a primitive type of the same or smaller type. ... The reverse is also allowed:
New Text:
Java allows a return value to be a reference to a wrapper class if the return type is of a primitive type of the same or smaller type. ... The reverse is also allowed but only when the method's return type is a wrapper of the same type as the type of the primitive value being returned -
Comments:

Pg: 167
Status: Fixed
Fixed in Build: 30
Reported On: 2020-05-12
Reported By: saregg
Location: 7.5.2 last para
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 176
Status: Fixed
Fixed in Build: 30
Reported On: 2020-05-12
Reported By: saregg
Location: 7.8 first para
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
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:

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: 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: 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:

Page 1 of 7 Results 1 - 10 of 64