Define a NumberedAccount class, which is to represent bank accounts with account numbers, account holders (i.e., customers), and balances. Your class should inherit from the BankAccount class of the text. In particular, it should provide the methods withdraw, deposit, and getBalance as specified for that class, without having to redefine them in the NumberedAccount class.
The account numbers should be represented as integers. The account holders should be represented as Strings. Your class should have public methods getAccountNumber and getAccountHolder that return the values of the corresponding instance fields. It should have a zero-argument constructor (that provides a balance and account number of zero, and an empty string representing the account holder) and a constructor that takes as arguments the account holder, account number, and balance in that order. It should provide an appropriate toString method.
Finally, your class should implement the Comparable interface. One bank account should precede another account in order if and only if the account holder of the first precedes the account holder of the second in lexicographical order (the natural order for strings that is used in the String.compareTo method).
As always, you may define any private methods that you find helpful.
For this assignment, you should provide a copy of your code on diskette (no CD or email), and hard copies of your code and the results of your testing with the file A10.java, which is provided on the class web site. Recall that the BankAccount class is available by following the Java Examples and Bank links from the class home page.