InterestBearingAccount - interestRate super(owner number...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class InterestBearingAccount extends Account { private double interestRate; public InterestBearingAccount(String owner, int number) { super(owner, number); } public InterestBearingAccount(String owner, int number, double balance, double
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: interestRate) { super(owner, number, balance); this.interestRate = interestRate; } public void addMonthlyInterest() { } public String toString() { String ret = super.toString()+ "Interest Rate: " +interestRate; return ret; } }...
View Full Document

This note was uploaded on 03/25/2010 for the course CIS CIS3023 taught by Professor Seema during the Spring '10 term at Florida College.

Ask a homework question - tutors are online