Page 3 of 4 Results 21 - 30 of 35

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 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: 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: 173
Status: Fixed
Fixed in Build: 1.20
Reported On: 2020-03-06
Reported By: ardurn
Location: 8.5.2 Syntax of the enhanced for loop
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 180
Status: Fixed
Fixed in Build: 1.18
Reported On: 2020-02-15
Reported By: javiut
Location: 8.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: 182
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-05-12
Reported By: saregg
Location: 8.8 First para
Old Text:
java.util.Iterable
New Text:
java.lang.Iterable
Comments:

Pg: 198
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-04-15
Reported By: ruidanielribeiro
Location: 9.3.1 step 2
Old Text:
Next, you can set iaaa[0][0] to point to an array of 4 ints using iaaa[0][0] = new int[]{ 1, 2, 3, 4}; or iaaa[0][0] = { 1, 2, 3, 4};
New Text:
Next, you can set iaaa[0][0] to point to an array of 4 ints using iaaa[0][0] = new int[]{ 1, 2, 3, 4};
Comments:
The "or iaaa[0][0] = { 1, 2, 3, 4}; " should be removed because it works only at the time of declaration.
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: 148
Status: Fixed
Fixed in Build: 1.10
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: 7
Status: Fixed
Fixed in Build: 1.21
Reported On: 2019-10-02
Reported By: nk2164
Location: Last sentence in second last para
Old Text:
The ‘if’statement in the code above works because Java designers decided to permitted this type of unreachable code so that conditional compilation could occur.
New Text:
The ‘if’statement in the code above works because Java designers decided to permit this type of unreachable code so that conditional compilation could occur.
Comments:
Change permitted to permit

Page 3 of 4 Results 21 - 30 of 35