Inheritance project error

goirishgoirish Dayton, OH

I am working on a project in my textbook (Blue Pelican Java) in which I have written a Tester class, a BankAccount class (which is a super class) and a SavingsAccount class (which is a subclass). The BankAccount class compiles fine but compiling either of the other two leads me to an error in the SavingsAccount class which is:

";" expected at the end of this line:

public SavingsAccount(double amount, double rate) // the constructor for SavingsAccount

Can anyone help? This is my first post here. Should I post the two problem classes in their entirety? Thanks in advance.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!