Owl Teach Yourself Java 2 in 21 Days Pro, Third Edition
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / THANKS
ROGERS CADENHEAD

Day 13: 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 / THANKS

Valid HTML 4.01!

Valid CSS!