This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
1. It is not a method at all, but a constructor. 2. You do not extend any class so the only parent is Object. There is no constructor in object that accepts the arguments String, String, String, souble. The only constructor in Object is a no-args constructor. 3. Assuming you actually have a super class that accepts those types that is not how you call the super class constructor:
super (accountId, firstName, lastName, balance);
For that to work, it looks like you must extend CheckingAccount. Clean this part up and recompile and see what errors are left.
I just have a small comment about some of your code
That is an excessive amount of comments. Commenting nearly every line is unnecessary. It clutters up your code and makes it harder to understand when you drown it in comments. [ November 15, 2006: Message edited by: David McCombs ]
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration."- Stan Kelly-Bootle