q7: WAP to show try catch throw in user define classes type.
q8: WAP to compute square root of a number. The input value must be tested for validity. If it is negative an exception must be raised.
q9: WAP to read name, roll number and marks that catches multiple exceptions using exception class if roll number is negative and marks greater than full marks.
q10: WAP to show how do you throw only specified excepton from a function.
q11: WAP to throw multiple exception. Using exception class and each exception is handled by separate handler.