Page 2 of 7 Results 11 - 20 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 116
Status: Fixed
Fixed in Build: 22
Reported On: 2019-10-06
Reported By: Fedor Lvovich Dobrotvorskii
Location: Assignment Operators
Old Text:
Simple assignment - It simply copies the value on the left to the variable on the right.
New Text:
Simple assignment - It simply copies the value on the right to the variable on the left.
Comments:
left and right are switched.
Pg: 126
Status: Fixed
Fixed in Build: 22
Reported On: 2019-10-06
Reported By: Fedor Lvovich Dobrotvorskii
Location: 5.1.5 Numeric promotion and casting
Old Text:
byte b = 1; short s = -b; System.out.println(b);
New Text:
byte b = 1; short s = -b; System.out.println(s);
Comments:
It should print s instead of b.
Pg: 142
Status: Fixed
Fixed in Build: 23
Reported On: 2019-10-12
Reported By: Fedor Lvovich Dobrotvorskii
Location: Dangling else
Old Text:
If we go by the first interpretation, the code will print b, and ...
New Text:
If we go by the first interpretation, the code will print c, and ...
Comments:
b should be changed to c
Pg: 66
Status: Fixed
Fixed in Build: 07
Reported On: 2018-10-20
Reported By: Flex567
Location: 3.3.3 - literals
Old Text:
You cannot start or end a literal with an underscore and cannot use multiple underscores consecutively.
New Text:
You cannot start or end a literal with an underscore. You can also use multiple underscores consecutively. You don't need to worry about the rules governing the usage of underscores in hexadecimal, binary, and octal number formats.
Comments:

Pg: 369
Status: Fixed
Fixed in Build: 14
Reported On: 2018-12-11
Reported By: Flex567
Location: 12.5.2 - Parts of a Lambda expression
Old Text:
(a, b, c) -> a + b + c; //valid ... a ->a + 2; //valid a - >return a + 2; //invalid, must not have return keyword
New Text:
(a, b, c) -> a + b + c //valid ... a ->a + 2 //valid a - >return a + 2 //invalid, must not have return keyword
Comments:
Sample lambda expressions should not have semi-colons at the end.
Pg: 371
Status: Fixed
Fixed in Build: 16
Reported On: 2019-02-24
Reported By: Flex567
Location: 12.5.3
Old Text:
1. default Predicateor(Predicateother) :
New Text:
1. default Predicateand(Predicateother) :
Comments:

Pg: 42
Status: Fixed
Fixed in Build: 25
Reported On: 2020-02-07
Reported By: javiut
Location: 2.2.5 Quiz
Old Text:
Correct answer is B.
New Text:
Correct answer is B and E. Option E is correct because a Java source file contains three parts package declaration, import statements, and type declarations. All of them are optional.
Comments:

Pg: 36
Status: Fixed
Fixed in Build: 25
Reported On: 2020-02-07
Reported By: javiut
Location: 2.2.2 Stucture of a Java class
Old Text:
Part 3: one or more reference type (i.e. class, interface, or enum) definitions. ...
New Text:
Part 3: zero or more reference type (i.e. class, interface, or enum) definitions. --- On Page 37, the line, "A Java source file must define at least one Java reference type definition in it." must be deleted.
Comments:
All of the three parts are optional.
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: 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.

Page 2 of 7 Results 11 - 20 of 64