if you are not sure of the type of exception, what type of object will you write on the catch block?
Answers
Answered by
0
Answer:
if you are not sure of the type of exception, then use this
Explanation:
catch(Exception ex) {
System.out.println("Exception handling code for any other Exception.");
}
Similar questions
Math,
6 months ago
Math,
6 months ago
Environmental Sciences,
1 year ago
Math,
1 year ago
Math,
1 year ago