Computer Science 121
Assignment 1
Due: February 6, 2001

For this assignment, you are to write a Java program that describes a personal computer. You should model it after the programs that describe People and CityTemps. The program should have two classes, one that describes the computer and the other that contains the main method that runs the program.

The class that describes the computer should provide a name for the computer (such as Compaq or Dell), a speed (in megahertz) and the size of the memory (in megabytes). The name should be a String and the speed and memory size integers. The program should display on the screen the computer's name, speed and memory size.

You are to hand in a print out of the program and a disk that contains the java and class files. Make sure that your program is working before you hand it in. Write your name in large letters in the upper right corner of the printout. Also label your disk with your name and the course number.