There's a spelling mistake (an extra 'e' on the input parameter annualInterest*e*Rate):
public void setAnnualInterestRate(double annualInteresteRate){
this.annualInterestRate = annualInterestRate;
}
Therefore you are setting the this.annualInterestRate
to itself, which was set to be 0.0 in the constructor. Should be:
public void setAnnualInterestRate(double annualInterestRate){
this.annualInterestRate = annualInterestRate;
}
You are also never assigning a creation date to dateCreated
, hence the null. I suggest setting it inside the constructor (as this will be called any time you create a new Account object).