MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following program code?public class Test{public static void main(String args[]){try{int i;return;}catch(Exception e){System.out.print("inCatchBlock");}finally{System.out.println("inFinallyBlock");}}} |
| A. | nCatchBlock |
| B. | nCatchBlock inFinallyBlock |
| C. | nFinallyBlock |
| D. | he program will return without printing anything |
| Answer» D. he program will return without printing anything | |