+1 (980) 272-1787

Page 4 of 4 Results 31 - 40 of 40

Errata Entries Order by:  Page Number  Reported By  Reported On
Pg: 120
Status: Fixed
Fixed in Build: Build 14, 2019-01-26
Reported On: 2018-12-04
Reported By: Username987654
Location: 5.1.1 - overview-of-operators -- Miscellaneous Operators
Old Text:
It returns true if the object pointed to by the reference variable on the left is of the type (or a subtype) of the type given on the left and false otherwise.
New Text:
It returns true if the object pointed to by the reference variable on the left is of the type (or a subtype) of the type given on the right and false otherwise.
Comments:
In the detail text of instanceof , section left should be right.
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: 237
Status: Fixed
Fixed in Build: Build 12, 2019-01-06
Reported On: 2019-01-04
Reported By: Username987654
Location: 9.1.5 Benefits of Inheritance
Old Text:
For example, in the class hierarchy consisting of the CurrentAccount, SavingsAccount, and RetirementAccount classes...
New Text:
For example, in the class hierarchy consisting of the Account, CheckingAccount, and SavingsAccount classes...
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
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: 242
Status: Fixed
Fixed in Build: Build 14, 2019-01-26
Reported On: 2019-01-07
Reported By: Username987654
Location: 9.3.2 - Valid combinations of access modifiers, abstract, final, and static
Old Text:
class Sofa
New Text:
abstract class Sofa
Comments:
Although not relevant for this discussion, the Cclass shown under "Impact of access modifiers on abstract and final" should be abstract.
Pg: 351
Status: Fixed
Fixed in Build: Build 15, 2019-02-04
Reported On: 2019-01-21
Reported By: Username987654
Location: 11.5.2 last line
Old Text:
Since the declared type of the variable x1 is Object,...
New Text:
Since the declared type of the variable x2 is Object,...
Comments:
The variable being passed as an argument is x2 and its declared type is Object.
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: TBF
Fixed in Build: -
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: 345
Status: TBF
Fixed in Build: -
Reported On: 2019-05-23
Reported By: Username987654
Location: 12.3.2 Creating a Date/Time object using the static parse methods
Old Text:
You need to be aware of three such variables - ISO DATE, ISO TIME, and ISO DATE TIME - because when you don’t pass a formatter to the parse methods, these are the formatters that the parse methods use internally to parse the string. Lo- calDate uses ISO DATE, LocalTime uses ISO TIME, and LocalDateTime uses ISO LOCAL DATE TIME to parse the given string. Thus, for example, invoking LocalDate.parse("2018-02-14"); will produce the same result as invoking LocalDate.parse("2018-02-14", DateTimeFormat- ter.ISO DATE);
New Text:
You need to be aware of three such variables - ISO_LOCAL_DATE, ISO_LOCAL_TIME, and ISO_LOCAL_DATE_TIME - because when you don’t pass a formatter to the parse methods, these are the formatters that the parse methods use internally to parse the string. Lo- calDate uses ISO_LOCAL_DATE, LocalTime uses ISO_LOCAL_TIME, and LocalDateTime uses ISO_LOCAL_DATE_TIME to parse the given string. Thus, for example, invoking LocalDate.parse("2018-02-14"); will produce the same result as invoking LocalDate.parse("2018-02-14", DateTimeFormat- ter.ISO_LOCAL_DATE);
Comments:
The default formatters use the "local" versions. So, ISO_DATE should changed to ISO_LOCAL_DATE and so on.

Page 4 of 4 Results 31 - 40 of 40