Given below the sample code :
int a= Integer.parseInt("three");
Which exception could be handeled by the catch block for above ?1. ClassCastException
(3) & (4)
Above code throws "NumberFormatException" ." IllegalArgumentException" is its superclass.
Posted on: July 15, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles