

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output?class MyClass{public String test(){try{System.out.print("One");return ";}finally{System.out.print("Two");}}}public class Test{public static void main(String args[]){MyClass m =new MyClass();m.test();}} |
A. | ne |
B. | wo |
C. | ne Two |
D. | ompilation Error |
E. | one of these |
Answer» D. ompilation Error | |