JAVA Exceptions The class at the top of exception class hierarchy is ................. Object Throwable Exception ArithmeticException Object Throwable Exception ArithmeticException 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. B and D A and B A and D B and C A and C B and D A and B A and D B and C A and C 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(); }} None of these One Two Compilation Error Two One None of these One Two Compilation Error Two One ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions In which of the following package Exception class exist? java.lang java.util java.net java.file java.io java.lang java.util java.net java.file java.io ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which keyword is used to specify the exception thrown by method? throw catch finally throws throw catch finally throws ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which of the following blocks execute compulsorily whether exception is caught or not. catch throw finally throws catch throw finally throws ANSWER DOWNLOAD EXAMIANS APP