This week's book giveaway is in the Agile and Other Processes forum.We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!

# McKenzie's Mock Exam Question 4-26 on pg. 94 has a misprint in question and answer

Todd Patrick
Ranch Hand
Posts: 31
Question 4-26 on page 94 has a misprint in the question.

Which of the following properly initializes a double to the value of 22.11?

Which of the following properly initializes a double to the value of 10.11?

On the same page, the available answers are:

a) double d == 10.11;
b) double d = new Float(10.11);
c) double d = 10.11F;
d) double d = 10.11D;

Answers on page 110 for this question are listed as the following with option c corrected according to the explanation.

a) double d == 10.11;
b) double d = new Float(10.11);
c) double d = 10.11d;
d) double d = 10.11D;

Therefore b,c & d are correct.