Results 1 - 6 of 6

Errata Entries Order by:  Page Number  Reported By  Reported On
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.
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: 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.9
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
Pg: 5
Status: Fixed
Fixed in Build: 1.8
Reported On: 2019-10-01
Reported By: nk2164
Location: Third last sentence in point 1
Old Text:
For example, an overriding method cannot throw a more generic exception that the one declared by the overridden method.
New Text:
For example, an overriding method cannot throw a more generic exception than the one declared by the overridden method.
Comments:
Change that to than

Results 1 - 6 of 6