Page 1 of 4 Results 1 - 10 of 34

Errata Entries Order by:  Page Number  Reported By  Reported On  Fixed In Build
Pg: 402
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-04-14
Reported By: wombat747
Location: 16.1.1 Under Compiling individual module source files
Old Text:
c:\ocp11\moduletest>javac -d out\simpleinterest src\simpleinterest\module- info.java src\simpleinteres\simpleinterest SimpleInterestCalculator.java
New Text:
c:\ocp11\moduletest>javac -d out\simpleinterest src\simpleinterest\module- info.java src\simpleinteres\simpleinterest\SimpleInterestCalculator.java
Comments:
There should be \ insteadof a space between src\simpleinteres\simpleinterest and SimpleInterestCalculator.java
Pg: 360
Status: Fixed
Fixed in Build: 1.13
Reported On: 2019-11-23
Reported By: vdomanico
Location: The removeIf method in section 14.1.5
Old Text:
List iList = new List.of(1, 2, 3, 4, 5, 6);
New Text:
List iList = new ArrayList<>(List.of(1, 2, 3, 4, 5, 6));
Comments:

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: 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: 360
Status: Fixed
Fixed in Build: 1.21
Reported On: 2020-05-12
Reported By: saregg
Location: 14.1.5 first para under The forEach method
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: 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
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
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: 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.

Page 1 of 4 Results 1 - 10 of 34