Ok, but even with that, withdraw is supposed to throw the exception correct?
16 Replies - 1904 Views - Last Post: 04 June 2012 - 12:00 PM
#16
Re: non-static variable cannot be referenced...etc.
Posted 04 June 2012 - 09:52 AM
#17
Re: non-static variable cannot be referenced...etc.
Posted 04 June 2012 - 12:00 PM
withdraw throws it and main() catch it. So main() is not declared as throwing Exception
or main() or withdraw() throws it and main() does not catch it and it is declared as throwing Exception
or main() or withdraw() throws it and main() does not catch it and it is declared as throwing Exception

New Topic/Question
Reply



MultiQuote


|