Page 6 of 7 Results 51 - 60 of 64

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
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: 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: 110
Status: Fixed
Fixed in Build: 06
Reported On: 2018-10-07
Reported By: Cristian Palau
Location: 5.1.1 - overview-of-operators-available-in-java
Old Text:
System.out.println(false != flag); //comparing a boolean with a Boolean, prints true because flag is false
New Text:
System.out.println(false != flag); //comparing a boolean with a Boolean, prints false because flag is false
Comments:

Pg: 272
Status: Fixed
Fixed in Build: 07
Reported On: 2018-10-17
Reported By: Arold Aroldson
Location: 10.2.0 - differentiate-among-checked-exceptions-unchecked-exceptions-and-errors
Old Text:
Diagram showing various exceptions shows ClassCastException under checked exceptions
New Text:
Diagram showing various exceptions shows ClassCastException under unchecked exceptions
Comments:
Associated text is correct. Only the diagram is incorrect.
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: 375
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-31
Reported By: ardurn
Location: 12.5.3 Last line of point 4
Old Text:
You could create a Predicate out of the equals method like this - Predicate equals = Predicate.isEquals(c1);.
New Text:
You could create a Predicate out of the equals method like this - Predicate equals = Predicate.isEqual(c1);
Comments:
It should be isEquals instead of isEquals.
Pg: 252
Status: Fixed
Fixed in Build: 29
Reported On: 2020-03-31
Reported By: ardurn
Location: 12.3.4 point 4
Old Text:
Using the isEquals method - ... isBefore/isAfter/isEquals
New Text:
Using the isEqual method - ... isBefore/isAfter/isEqual
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:

Page 6 of 7 Results 51 - 60 of 64