Java in 21 Days (7th Edition) Day 4: Lists, Logic, and Loops

The cover of Teach Yourself Java in 21 Days (7th Edition) by Rogers Cadenhead

Home Feedback 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.

Source Files

Activities