Page 3 of 4 Results 21 - 30 of 35

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 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: 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: 98
Status: Fixed
Fixed in Build: 2.1
Reported On: 2020-06-30
Reported By: kowenli
Location: 4.6.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 in the second line.
Pg: 5
Status: Fixed
Fixed in Build: 1.8
Reported On: 2019-10-01
Reported By: nk2164
Location: Third last sentence in point 1
Old Text:
For example, an overriding method cannot throw a more generic exception that the one declared by the overridden method.
New Text:
For example, an overriding method cannot throw a more generic exception than the one declared by the overridden method.
Comments:
Change that to than
Pg: 7
Status: Fixed
Fixed in Build: 1.21
Reported On: 2019-10-02
Reported By: nk2164
Location: Last sentence in second last para
Old Text:
The ‘if’statement in the code above works because Java designers decided to permitted this type of unreachable code so that conditional compilation could occur.
New Text:
The ‘if’statement in the code above works because Java designers decided to permit this type of unreachable code so that conditional compilation could occur.
Comments:
Change permitted to permit
Pg: 57
Status: Fixed
Fixed in Build: 1.9
Reported On: 2019-10-07
Reported By: nk2164
Location: 3.3.3 second last line
Old Text:
Here, I am casting the floating point value 1.1 to an int.
New Text:
Here, I am casting the floating point value 11.1 to an int.
Comments:
1.1 should be 11.1.
Pg: 65
Status: Fixed
Fixed in Build: 1.14
Reported On: 2020-01-05
Reported By: nk2164
Location: 3.5 Exercise 1
Old Text:
p2 = p1;
New Text:
Person p2 = p1;
Comments:
Variable p2 inside the main method is not declared.
Pg: 113
Status: Fixed
Fixed in Build: 1.16
Reported On: 2020-01-11
Reported By: nk2164
Location: Point 3
Old Text:
3. If you pass a null, ...
New Text:
3. If you pass a variable pointing to null, ...
Comments:

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.

Page 3 of 4 Results 21 - 30 of 35