JAVA Exceptions Which of the following blocks execute compulsorily whether exception is caught or not. finally catch throws throw finally catch throws throw ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions The class at the top of exception class hierarchy is ................. Object Exception ArithmeticException Throwable Object Exception ArithmeticException Throwable ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which of the below statement is/are true about Error?A. An Error is a subclass of Throwable.B. An Error is a subclass of Exception.C. Error indicates serious problems that a reasonable application should not try to catch.D. An Error is a subclass of IOException. A and C B and D A and B B and C A and D A and C B and D A and B B and C A and D ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which exception is thrown when divide by zero statement executes? NumberFormatException None of these NullPointerException ArithmeticException NumberFormatException None of these NullPointerException ArithmeticException ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which keyword is used to specify the exception thrown by method? catch throw throws finally catch throw throws finally ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Given the code. What is the result when this program is executed?public class Test{ static int x[]; static{ x[0] = 1; } public static void main(String args[]){ }} StackOverflowException is thrown IllegalStateException is thrown ExceptionInInitializerError is thrown ArrayIndexOutOfBoundsException is thrown None of these StackOverflowException is thrown IllegalStateException is thrown ExceptionInInitializerError is thrown ArrayIndexOutOfBoundsException is thrown None of these ANSWER DOWNLOAD EXAMIANS APP