Accountdriver.java
//Copy constructor
public SavingsAccount(SavingsAccount oldAccount, double amount)
{
super(oldAccount,amount); // <--- SUPER COPY CONSTRUCTOR CALLED
savingsNumber++;
accountNumber = oldAccount.accountNumber + Integer.toString(savingsNumber);
}
Mushy Macaw