Single Choice
Not Set
Q
public class Test{
public static void main(String args[]){
try{
int a = Integer.parseInt("four");
}
}
}
Which exception could be handled by the catch block for above?
ID: #2324
Java Exception MCQ
928 views
Question Info
#2324Q 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
NumberFormatException
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic