Need some help with Java exception handling homework problems! Thanks! Reference
ID: 3576747 • Letter: N
Question
Need some help with Java exception handling homework problems! Thanks!
Reference code:
public static void main(String[] args) {
try {
statement1;
method1();
statement2;
} catch (ExceptionA ex) {
statement3;
} finally {
statement4;
}
statement5;
}
public static void method1() {
try {
statement6;
} catch (ExceptionB ex) {
statement7;
} catch (ExceptionC ex) {
statement8;
} finally {
statement9;
}
statement10;
}
Questions:
Question 11 Which statements will execute if no exception is thrown? Not yet answered Marked out of 3.00 P Flag question Select one or more statement statement2 statement 3 statement4 statement 5 statement6 statement 7 statement statement statement 10Explanation / Answer
which statement execute if no exception is thrown ?
Answer : statement 1
statement 2
statement 6
statement 9
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.