previous | start | next

Self Check

  1. The Random class is defined in the java.util package. What do you need to do in order to use that class in your program?
  2. Why doesn't the MoveTester program print the width and height of the rectangle?

previous | start | next