Program 1: Writing Your Own Class

Purpose

The purpose of this assignment is to write a custom class that integrates with an existing test program.

Partners

You may (and are encouraged to) work with at most one other partner on this assignment. You and your partner must be in the same lab section. If you work with a partner, submit one solution with both of your names on it.

Assignment

Create a BlueJ project named Program1 and place this TestProgram.java file in it. Your task is to add the missing GringottsAccount.java file to the project such that when the TestDriver is run, it produces exactly this output.

Grading (30 points possible)

Helpful Hints

Submission

E-mail the GringottsAccount.java file as an attachment to your lab TA no later than the start of your lab on Tuesday, September 30th. Late submissions receive no credit, but partial credit can be earned by making an ontime submission. The subject of the e-mail should be CS 160, Program 1, your name, your partner's name.

Valid XHTML 1.0!