CS 1721 Laboratory 1
Testing a simple class hierarchy based on the Coin class

Objectives:

Hand-in Requirements:

All projects and laboratories will be submitted electronically through webCT under the Submissions menu. Zip up your entire project directory to submit as the source. (Right click on the project folder and follow the SentTo link.)

Overview:

The goal of this laboratory is for you to get your account set up and to understand how to run simple Java programs.http://www.cs.utsa.edu/~javalab/lab/accountlogin.html It is important that you get all account problems resolved in the first two weeks of class. You will have an account on the CS network that works on the Windows, Sun and Linux (Unix) machines in the Computer Science Laboratories. We will mainly be using Windows machines for this course. If your laboratory meets in the Java teaching laboratory (SB 3.02.02), you will need to log in to both your Windows and Unix accounts to change your passwords. If your lab does not meet in SB 3.02.02, you should go to SB 3.02.02 during open laboratory hours ( http://www.cs.utsa.edu/~javalab/lab/schedule.html) and reset your passwords. If you are unfamiliar with the system, please ask a tutor to help. The tutors are available to give you as much help as you need on the laboratories. Please ask for help if you are having trouble.

Part I: Running a simple project

This laboratory is based on the Coin class. The Coin class has a value and a name. You can find out the name or the value of a Coin. You can also find out whether or not the coin is equal. All of our classes will also have a toString method for debugging.

Create a new project called coinproject. Your presenter will take you through the steps for creating a simple JBuilder project called coinproject.

Part II: On your own