Project 1
Administrative Details
Due Date: Friday, September 15, 2006 at 11:59pm
Points: 20 points possible. 5 points taken off each day late.
Project Description
Your assignment is to create a "Person" class.
Details:
- This Person class must be named "Person" - note the capital "P." If your class is titled "person" the automatic grader will give you a zero for the project.
- Your Person class must have the following methods:
- A contructor that takes a single argument: a String. The String will be the the name of the person.
- A "setName" method that takes a single argument: a String. This method replaces the name of the person.
- A "getName" method that takes zero arguments but returns a String. It should return the name of the person.
- Your Person class must have the following data fields:
- A String that holds the name of the person. For example: "String name"
How to submit
You may submit as many times as you want. There are two ways to submit this project:
- Submit through BlueJ. The lab machines are configured to automatically submit to Web-Cat - the automatic grader. To do so perform the following steps:
- Open BlueJ on one of the lab machines.
- Open your project. You should see your "Person" class displayed as a rectangle.
- Before submitting make sure that your class compiles.
- To submit: Click on the "Tools" menu. Under "Tools" click on "Submit...". Choose CS 1054 and Project 1.
- Submit manually through the Web-Cat website
- Go to http://web-cat.cs.vt.edu/Web-CAT/WebObjects/Web-CAT.woa.
- Log in using your user name and password that you use for Webmail and Hokie Spa.
- Click on the "Submit" tab. It can be located at the top left of the webpage.
- Select CS 1054 (the CRN may be wrong) then click "Next".
- Select "Project 1" then click "Next".
- Click the "Browse..." button. Browse to your "Person.java" file (whereever on your local machine the file is) to upload it. Select your "Person.java" file. Click "Open."
- Click "Next."
- If your file uploaded correctly click "Next."
- Wait for the automatic grader to grade your project to see your score.