JAVA Exceptions Which exception is thrown when divide by zero statement executes? NullPointerException None of these NumberFormatException ArithmeticException NullPointerException None of these NumberFormatException ArithmeticException ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions public class Test{ public static void main(String args[]){ try{ int a = Integer.parseInt("four"); } }}Which exception could be handled by the catch block for above? IllegalStateException ArrayIndexOutOfBoundsException ClassCastException NumberFormatException None of these IllegalStateException ArrayIndexOutOfBoundsException ClassCastException NumberFormatException None of these ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which keyword is used to explicitly throw an exception? catch try throwing throw catch try throwing throw ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which exception is thrown when an array element is accessed beyond the array size? ArrayIndexOutOfBounds ArrayElementOutOfBounds ArrayIndexOutOfBoundsException None of these ArrayIndexOutOfBounds ArrayElementOutOfBounds ArrayIndexOutOfBoundsException None of these ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which keyword is used to specify the exception thrown by method? throws catch throw finally throws catch throw finally ANSWER DOWNLOAD EXAMIANS APP
JAVA Exceptions Which of the following blocks execute compulsorily whether exception is caught or not. throw throws catch finally throw throws catch finally ANSWER DOWNLOAD EXAMIANS APP