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

Day 25: Accessibility

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 25:

Answer (c) is correct. Casting cannot be used to create an int value from an Integer object. Instead, the object's intValue() method should be called, which returns an int of the same value as the object.

Answers (a), (b), and (d) are incorrect. Edit

Return to Day 25

HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / THANKS

Valid HTML 4.01!

Valid CSS!