P3 - CSE 17 Homework Assignment Assignment: 3 Due:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 17 Homework Assignment Assignment: 3 Due: 11/2/2011 at 11:00 PM Late Collections: 11/3/2011 at 11:00 PM 11/4/2012 at 11:00 PM Folder Name: P3 Program Name: P3.java Account.java CheckingAccount.java Checks.java Deposit.java On coursesite is the file P3.java, Account.java, CheckingAccount.java and Checks.java that should be used for this program. If your Account.java file is working correctly then you do not need to use the Account.java file on coursesite. You have to make sure you understand the three classes Account, CheckingAccount and Checks in order to complete P3. I have placed on coursesite a file called CheckingAccountDemo.java that will allow you to see what will be produced by the execution of the three classes. After understanding what has already been written begin P3. Modify class Account by adding the equals() method where it will return true if both the account id and balance are equal else it returns false. Write this method so that any object can be brought into this method. Modify class Checks by adding the equals() method where it will return true if both the check number and amount are equal else it returns false. Write this method so that any object can be brought into this method. Design a class called
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/06/2011 for the course CSE 18 taught by Professor Kalafut during the Fall '11 term at Lehigh University .

Page1 / 3

P3 - CSE 17 Homework Assignment Assignment: 3 Due:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online