Alex Houser wrote:Just realized I didn't post this in java beginners. 
In which case I shall move you.
Have you come across the
@Override annotation? Whenever you are extending a class, tag each method you are overriding with @Override, like this:-
Now, I think there is only one method you are trying to override, so I used that annotation once in line 23; if you make the tiniest spelling error, or mark a method which you aren't overriding, you will find out soon enough; try it and see.
Why are you calling the method in line 32 processWithdrawal? Why have you given it public access? Surely nobody is going to call the charge fee method from elsewhere. Why have you hard‑coded the fee in line 33? Why do
both that and the ordinary withdraw method call the superclass' withdraw method? And while we are on about the method to charge a fee, look how badly it is formatted when the rest of the code is formatted well. Bad indentation and excess blank lines make the code harder to read, but it is you who will have the most difficulty reading it and identifying errors.
What does the
minBalanace field mean?
I think most of your
// comments should be replaced by
/** comments */
Why does the comment on line 2 say two variables?