Page 3 of 7 Results 21 - 30 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 235
Status: Fixed
Fixed in Build: 12
Reported On: 2019-01-04
Reported By: Username987654
Location: 9.1.3 Inheritance and access modifiers - point 5
Old Text:
Even though the balance field of Account is visible and inherited in RetirementAccount, acct.balance ...
New Text:
Even though the balance field of Account is visible and inherited in RetirementAccount, sa.balance ...
Comments:
acct.balance should be changed to sa.balance
Pg: 217
Status: Fixed
Fixed in Build: 16
Reported On: 2019-02-22
Reported By: OCAJ01
Location: 8.6.1 (first code listing)
Old Text:
private age;
New Text:
private int age;
Comments:

Pg: 208
Status: Fixed
Fixed in Build: 12
Reported On: 2019-01-03
Reported By: Username987654
Location: 8.5.2 Creating constructors
Old Text:
this.someValue = x; //initializing x
New Text:
this.someValue = x; //initializing someValue
Comments:

Pg: 203
Status: Fixed
Fixed in Build: 19
Reported On: 2019-05-17
Reported By: username987654
Location: 8.4.3
Old Text:
free to manage acctIt in its own way but
New Text:
free to manage acctId in its own way but
Comments:
acctIt should be acctId
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: 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: 192
Status: Fixed
Fixed in Build: 16
Reported On: 2019-02-16
Reported By: Username987654
Location: 8.3.3 - Accessing static members from the same class
Old Text:
new InstanceCounter(); new InstanceCounter(); //accessing static method through an implicit reference to an instance 8.3 Apply the static keyword to methods and fields 193 new InstanceCounter().printCount(); //accessing count through the class name System.out.println(InstanceCounter.count);
New Text:
new InstanceCounter().printCount(); //accessing static method through an implicit reference to an instance System.out.println(InstanceCounter.count); //accessing count through the class name
Comments:
The two new InstanceCounter() statements are not needed and the comments should be moved to the corresponding statements.
Pg: 192
Status: Fixed
Fixed in Build: 19
Reported On: 2019-05-10
Reported By: natasci
Location: 8.3.2 last para
Old Text:
f.baz()
New Text:
f.boz()
Comments:
Change the baz to boz in the code and the text below because the method baz is private in Foo while baz is not.
Pg: 190
Status: Fixed
Fixed in Build: 16
Reported On: 2019-02-09
Reported By: OCAJ01
Location: 8..3.1
Old Text:
In the case of a method or a field, this keyword must appear immediately before the return type of the method or the type of the field respectively.
New Text:
In the case of a method or a field, this keyword must appear before the return type of the method or the type of the field respectively.
Comments:
The word "immediately" should be removed.
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:

Page 3 of 7 Results 21 - 30 of 64