This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by Ameen khan: Question is incomplete you didn't mention what values of a and b are:
if exception is thrown in try then catch is executed.then finally block will run. otherwise only finally will be printed
[ August 22, 2007: Message edited by: Ameen khan ]
Joined: Aug 02, 2007
you are not mention which parameters passed to a, b in the method. so it is not possible to say the answer. one point: 1) Exception arises catch and finally block executed. 2) No Exceptions are arised only finaly block executed