Page 4 of 5 Results 31 - 40 of 45

Errata Entries Order by:  Page Number  Reported By  Reported On
Pg: 131
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
Reported On: 2019-06-20
Reported By: Username987654
Location: 5.1.6
Old Text:
will be grouped as a = ( b = (c = 5) ;
New Text:
will be grouped as a = ( b = (c = 5)) ;
Comments:
Closing bracket is missing.
Pg: 147
Status: Fixed
Fixed in Build: Build 16, 2019-03-04
Reported On: 2019-02-06
Reported By: OCAJ01
Location: 6.3 Use a switch statement
Old Text:
A allows to you use the ...
New Text:
A switch statement allows you to use the ...
Comments:

Pg: 190
Status: Fixed
Fixed in Build: Build 16, 2019-03-04
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: 178
Status: Fixed
Fixed in Build: Build 14, 2019-01-26
Reported On: 2018-12-23
Reported By: Username987654
Location: 8.1.1
Old Text:
It cannot be a reserved work...
New Text:
It cannot be a reserved word...
Comments:

Pg: 192
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
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: 192
Status: Fixed
Fixed in Build: Build 16, 2019-03-04
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: 203
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
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: 208
Status: Fixed
Fixed in Build: Build 12, 2019-01-06
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: 217
Status: Fixed
Fixed in Build: Build 16, 2019-03-04
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: 235
Status: Fixed
Fixed in Build: Build 12, 2019-01-06
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

Page 4 of 5 Results 31 - 40 of 45