JAVA Exceptions The class at the top of exception class hierarchy is ................. ArithmeticException Exception Object Throwable ArithmeticException Exception Object Throwable ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which exception is thrown when an array element is accessed beyond the array size? ArrayElementOutOfBounds None of these ArrayIndexOutOfBounds ArrayIndexOutOfBoundsException ArrayElementOutOfBounds None of these ArrayIndexOutOfBounds ArrayIndexOutOfBoundsException 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[]){ }} None of these StackOverflowException is thrown ExceptionInInitializerError is thrown IllegalStateException is thrown ArrayIndexOutOfBoundsException is thrown None of these StackOverflowException is thrown ExceptionInInitializerError is thrown IllegalStateException is thrown ArrayIndexOutOfBoundsException is thrown ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions In which of the following package Exception class exist? java.net java.util java.file java.lang java.io java.net java.util java.file java.lang java.io ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions What will be the output?class MyClass{ public String test(){ try{ System.out.print("One"); return ""; } finally{ System.out.print("Two"); } }}public class Test{ public static void main(String args[]){ MyClass m = new MyClass(); m.test(); }} Compilation Error One Two None of these One Two Compilation Error One Two None of these One Two ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which exception is thrown when divide by zero statement executes? None of these ArithmeticException NumberFormatException NullPointerException None of these ArithmeticException NumberFormatException NullPointerException ANSWER DOWNLOAD EXAMIANS APP