Single Choice
Not Set
QWhat 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();
}
}
ID: #2323
Java Exception MCQ
1,009 views
Question Info
#2323Q ID
Not SetDifficulty
Java Exception MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
One Two
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic