Computer Science, asked by kmanjinder054, 10 months ago

if you are not sure of the type of exception, what type of object will you write on the catch block?​

Answers

Answered by charlie1505
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