--- MarcusFenix <[EMAIL PROTECTED]> wrote:
> This error is because I try to staticly instatiate 
> the Account class?

Where do you think you staticly instantiated the
Account class?

> public class Settings extends BankSupport{
>   Account ac1, ac2, ac3;
> 
>           public Settings()  {
>         
>         ac1.setCurrentAmount(500);
>         ac2.setCurrentAmount(300);
>         ac3.setCurrentAmount(0);
>       
>        }

You didn't instantiate them at *all*.

d.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to