- A IllegalStateException
- B NumberFormatException
- C ClassCastException
- D ArrayIndexOutOfBoundsException
Java Programming Language MCQ Java Exception MCQ
⚠ Report ✓ Question Verified Copy Link
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?
Learn More MCQ Questions from Java Programming Language MCQ Java Exception MCQ