Java 6 in 21 Days (5th Edition) Day 4: Lists, Logic, and Loops
Other Books Previous Day Next Day
Notes and Corrections
- View the Certification Practice quiz solution
Certification answer: Answer (c) is correct. Because the switch statement does not contain any break statements and z equals 1, all three case statements are executed, making x equal 15.0.
Answers (a), (b), and (d) are incorrect.
- Page 92: When you use the length variable to count the number of elements in the titles array, the value is 5, not 4.