here why there is no error that statement is not reachable ...since the control returns out of main method??? c is not printed ..so why there isn't any error??
Thanks & Regards<br /> <br />-Srikanth
posted 10 years ago
Try to put the return statement before the try catch block.. then you 'll get the error. When there is an exception ( checked or Unchecked ) thrown inside the try block then catch gets executed after that the S.O.P line will be rechable [ October 14, 2005: Message edited by: Srinivasa Raghavan ]