Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Interview Questions and Answers | ||||
| ||||
| Ans. Code Segment | ||||
1. try { for(int i=0;i<100;i++){ calculate(i); } } catch (Exception ex) { System.out.println("Error while processing") } and 2. for(int i=0;i<100;i++){ try { calculate(i); } catch (Exception ex) { System.out.println("Error while processing") } } | ||||