Page 3 of 4 Results 21 - 30 of 35

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 145
Status: Fixed
Fixed in Build: 1.13
Reported On: 2019-11-24
Reported By: Username987654
Location: 7.1.2 Usage of if and if-else in the exam
Old Text:
boolean flag = false; if( flag ) ; else System.out.println("false"); }
New Text:
boolean flag = false; if( flag ) ; else System.out.println("false");
Comments:
Closing curly brace at the end should be removed.
Pg: 138
Status: TBF
Fixed in Build:
Reported On: 2023-09-22
Reported By: Andrius Orlonas
Location: 6.1.6 Operator precedence and evaluation of expressions / Precedence
Old Text:
cast ()
postfix expr++, expr--
New Text:
postfix expr++, expr--
cast ()
Comments:
Cast operator should be below postfix increment and decrement operators.
Pg: 134
Status: Fixed
Fixed in Build: 1.9
Reported On: 2019-10-06
Reported By: Fedor Lvovich Dobrotvorskii
Location: 6.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: 125
Status: Fixed
Fixed in Build: 1.9
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: 113
Status: Fixed
Fixed in Build: 1.16
Reported On: 2020-01-11
Reported By: nk2164
Location: Point 3
Old Text:
3. If you pass a null, ...
New Text:
3. If you pass a variable pointing to null, ...
Comments:

Pg: 98
Status: Fixed
Fixed in Build: 2.1
Reported On: 2020-06-30
Reported By: kowenli
Location: 4.6.3 step 7
Old Text:
Step 7: At line 9, a new object is created and assigned to baz. Thus, bar stops pointing to obj 1 and starts pointing to obj 3 after the execution of this line.
New Text:
Step 7: At line 9, a new object is created and assigned to baz. Thus, baz stops pointing to obj 1 and starts pointing to obj 3 after the execution of this line.
Comments:
Change bar to baz in the second line.
Pg: 80
Status: Fixed
Fixed in Build: 1.16
Reported On: 2020-02-07
Reported By: javiut
Location: 4.3.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: 74
Status: Fixed
Fixed in Build: 1.16
Reported On: 2020-02-07
Reported By: javiut
Location: 4.3.2 Structure 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. --- The line, "A Java source file must define at least one Java reference type definition in it." must be deleted.
Comments:
All the three parts are optional.
Pg: 65
Status: Fixed
Fixed in Build: 1.14
Reported On: 2020-01-05
Reported By: nk2164
Location: 3.5 Exercise 1
Old Text:
p2 = p1;
New Text:
Person p2 = p1;
Comments:
Variable p2 inside the main method is not declared.
Pg: 57
Status: Fixed
Fixed in Build: 1.9
Reported On: 2019-10-07
Reported By: nk2164
Location: 3.3.3 second last line
Old Text:
Here, I am casting the floating point value 1.1 to an int.
New Text:
Here, I am casting the floating point value 11.1 to an int.
Comments:
1.1 should be 11.1.

Page 3 of 4 Results 21 - 30 of 35