Assume the existence of a BankAccount class. Define a subclass, SavingsAccount that contains the following: a double instance variable, interestRate a constructor that accepts a parameter of type double which is used to initialize the instance variable

LANGUAGE: JAVA

CHALLENGE:

Assume the existence of a BankAccount class.

Define a subclass, SavingsAccount that contains the following:
a double instance variable, interestRate
a constructor that accepts a parameter of type double which is used to initialize the instance variable

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,