Page 2 of 4 Results 11 - 20 of 35

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 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: 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: 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.
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: 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.

Page 2 of 4 Results 11 - 20 of 35