Java in 21 Days (7th Edition) Day 13: Creating Java2D Graphics

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 (a) is correct. Because the frame's getSize() method is called before the frame's size has been set, the method returns a value of 0.

    Answers (b), (c), and (d) are incorrect.

Source Files