InterestBearingAccount

InterestBearingAccount - interestRate) { super(owner,...

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

Ask a homework question - tutors are online