Page 5 of 7 Results 41 - 50 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 147
Status: Fixed
Fixed in Build: 16
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: 167
Status: Fixed
Fixed in Build: 30
Reported On: 2020-05-12
Reported By: saregg
Location: 7.5.2 last para
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 167
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-06
Reported By: ardurn
Location: 7.5.2 Syntax of the enhanced for loop
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 174
Status: Fixed
Fixed in Build: 26
Reported On: 2020-02-15
Reported By: javiut
Location: 7.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: 176
Status: Fixed
Fixed in Build: 30
Reported On: 2020-05-12
Reported By: saregg
Location: 7.8 first para
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

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: 178
Status: Fixed
Fixed in Build: 14
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: 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:

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: 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:

Page 5 of 7 Results 41 - 50 of 64