JAVA Exceptions Which exception is thrown when divide by zero statement executes? None of these NullPointerException NumberFormatException ArithmeticException None of these NullPointerException NumberFormatException ArithmeticException ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which of the following blocks execute compulsorily whether exception is caught or not. finally throws catch throw finally throws catch throw ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which keyword is used to specify the exception thrown by method? finally throw throws catch finally throw throws catch ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions What happen in case of multiple catch blocks? The superclass exception cannot caught first. None of these The superclass exception must be caught first. Either super or subclass can be caught first. The superclass exception cannot caught first. None of these The superclass exception must be caught first. Either super or subclass can be caught first. ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions try{ File f = new File("a.txt");}catch(Exception e){}catch(IOException io){}Is this code create new file name a.txt ? true Compilation Error None of these false true Compilation Error None of these false ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which exception is thrown when an array element is accessed beyond the array size? ArrayElementOutOfBounds ArrayIndexOutOfBoundsException ArrayIndexOutOfBounds None of these ArrayElementOutOfBounds ArrayIndexOutOfBoundsException ArrayIndexOutOfBounds None of these ANSWER DOWNLOAD EXAMIANS APP