Page 1 of 5 Results 1 - 10 of 45

Errata Entries Order by:  Page Number  Reported By  Reported On
Pg: 51
Status: TBF
Fixed in Build: -
Reported On: 2019-07-30
Reported By: Username987654
Location: 2.7
Old Text:
If a subclass overrides a method of a base class and if the object referred to by a variable is of type subclass, then the subclass’s version of the method is used even if the declared type of the variable is of base class. This is also called .
New Text:
If a subclass overrides a method of a base class and if the object referred to by a variable is of type subclass, then the subclass’s version of the method is used even if the declared type of the variable is of base class. This is also called dynamic binding.
Comments:
The words "dynamic binding" are missing at the end.
Pg: 61
Status: TBF
Fixed in Build: -
Reported On: 2019-07-30
Reported By: Username987654
Location: 3.3.1
Old Text:
Object obj2 = obj; //initializing obj using another reference
New Text:
Object obj2 = obj; //initializing obj2 using another reference
Comments:

Pg: 44
Status: TBF
Fixed in Build: -
Reported On: 2019-07-29
Reported By: Username987654
Location: 2.4.1
Old Text:
Thus, you cannot use the simple name Values in your code if you haven’t imported taxes.* or taxes.Test already using the regular import statement.
New Text:
Thus, you cannot use the simple name Values in your code if you haven’t imported taxes.* or taxes.Values already using the regular import statement.
Comments:
taxes.Test should be changed to taxes.Values.
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: 95
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
Reported On: 2019-06-19
Reported By: username987654
Location: 4.1.2
Old Text:
boolean[] ba = new boolean[3]; //an array of booleans of size 2
New Text:
boolean[] ba = new boolean[3]; //an array of booleans of size 3
Comments:

Pg: 345
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
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.
Pg: 362
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
Reported On: 2019-05-21
Reported By: natasci
Location: 12.4.2 example 4
Old Text:
list1.add(list2);
New Text:
list1.addAll(list2);
Comments:

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: 308
Status: Fixed
Fixed in Build: Build 19, 2019-07-24
Reported On: 2019-05-16
Reported By: natasci
Location: 11.3.1 (Under "the ClassCastException")
Old Text:
Mango m = new Mango(); Apple a = (Mango) m;
New Text:
Mango m = new Mango(); Apple a = (Apple) m;
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.

Page 1 of 5 Results 1 - 10 of 45