An exception can be caught by a catch block with an argument type that is a superclass of the thrown exception?? Ans:True What's the meaning of the above statement? I can't get what it says.
manasa teja
Ranch Hand
Joined: May 27, 2002
Posts: 325
posted
0
Hope this code helps!!
[ August 07, 2002: Message edited by: Murthy Ram ]
MT
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
Murthy, the intention of your code is good but it won't compile unless you remove the second catch block !! The compile error is: