Owl Teach Yourself Java in 24 Hours, Fifth Edition
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS HOUR / NEXT HOUR / THANKS
ROGERS CADENHEAD

Hour 9: Storing Information with Arrays

Online Interactive Learning Lab

How to create the Wheel application.

Hour 9 Quiz

Question 1. What types of information are arrays best suited for?

1.a. Lists

1.b. Pairs of related information

1.c. Trivia

Lists that contain nothing but the same type of information -- strings, numbers, and so on -- are well-suited for storage in arrays.

Question 2. What variable can be used to check the upper boundary of an array?

2.a. top

2.b. length

2.c. limit

The length variable contains a count of the number of elements in an array.

Question 3. How many reindeer does Santa have, including Rudolph?

3.a. 8

3.b. 9

3.c. 10

Santa had "eight tiny reindeer," according to Clement Clark Moore's Twas the Night Before Christmas, so Rudolph makes nine.

Notes and Corrections

  • None.

Source Files

Reader Questions

  • None.

Activities

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

Search terms used to find this page: Java programming, teach yourself, 24 hours, how to, learn, Sams, Macmillan, Java2, JDK1.5, Java 1.5, JDK 1.5, SDK1.5, Java 2 SDK 1.5, SDK 1.5, Java 2 version 1.5, J2SE 1.5, J2SE 5, Java 2 Standard Edition 1.5, Java 2 Standard Edition 5, Java 2 SDK, Java SDK, Rogers Cadenhead, tutorial, hands-on, source code, code, javac, java, appletviewer, help, learning, applet, application, Java Plug-in, plugin, Swing, GUI, interface, Java2D, IO, Java Web Start, games, novice, beginner, neophyte, rookie

Valid HTML 4.01!

Valid CSS!