X382: Interface Understanding

What's wrong with the following code? Assume both the interface and class share the same package.

public interface Account {
   int getAccountNumber();
   double getAccountBalance();
   String getAccountType();
}

public class CheckingAccount implements Account {
    private int accountNumber;
    private double accountBalance;

    public CheckingAccount(int accountNumber, double accountBalance) {
        this.accountNumber = accountNumber;
        this.accountBalance = accountBalance;
    }

    public int getAccountNumber() {
        return this.accountNUmber + 1000;
    }

    public String getAccountType() {
        return "Checking Account";
    }
}

Your Answer:

Select one answer:

Feedback

Your feedback will appear here when you check your answer.