Use inheritance in JAVA to create an exception superclass(calledExceptionA) and exception subclassesExceptionBandExceptionC, whereExceptionBinherits fromExceptionAandExceptionCinherits fromExceptionB. Write a program to demonstrate that the catch block for typeExceptionAcatches exceptions of typesExceptionBandExceptionC.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here