Suppose Exception2 is derived from Exception1. Analyze the following code.try {statement1;statement2;statement3;}catch (Exception1 ex1) {}catch (Exception2 ex2) {}Question 2 options:-If an exception of the Exeception2 type occurs, this exception is caught by the first catch block.-If an exception of the Exeception2 type occurs, this exception is caught by the second catch block.-The program has a compile error because these two catch blocks are in wrong order.-The program has a runtime error because these two catch blocks are in wrong order.