Which of the following is the correct syntax in a user defined exception ?
A. Catch (InvalidMarksException eobj)
B. Catch(AritmeticException eobj)
C. Catch (ArraylndexOutOfBounds e)
D. All of these
Answer:C
Which of the following is the correct syntax in a user defined exception ?
A. Catch (InvalidMarksException eobj) B. Catch(AritmeticException eobj) C. Catch (ArraylndexOutOfBounds e) D. All of these