Sams Teach Yourself Java in 21 Days (Covering Java 8 and Android)
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS DAY / NEXT DAY / THANKS
ROGERS CADENHEAD

Day 13: Using Color, Fonts, and Graphics

Certification Practice

Each chapter of the book ends with a Certification Practice question that's comparable to what you could expect to be asked on a Java certification test. Here's the answer for chapter 13:

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. Edit

Return to Day 13

HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS DAY / NEXT DAY / THANKS

Valid HTML 4.01!

Valid CSS!