Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Core Java - Interview Questions and Answers for 'Code memory segment' - 1 question(s) found - Order By Newest | ||||
| ||||
| 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") } } | ||||