Sams Teach Yourself Java 2 in 24 Hours, 3rd Edition

Sams Teach Yourself Java 2 in 24 Hours

By Rogers Cadenhead

Activities

You can review the topics of this hour more fully with the following activities:

  • Expand the Elvis program to track the weight if it were incremented upward by one pound for three straight days.
  • Create a short Java program that uses an x integer and a y integer and displays the result of x squared plus y squared.

To see Java programs that implement these activities, visit the book's Web site at http://www.java24hours.com.

+ Share This