JAVA Exceptions
try{ File f = new File("a.txt");}catch(Exception e){}catch(IOException io){}Is this code create new file name a.txt ?

Compilation Error
false
None of these
true

ANSWER DOWNLOAD EXAMIANS APP

JAVA Exceptions
Predict the output:public class Test{ public static void main(String args[]){ try{ String arr[] = new String[10]; arr = null; arr[0] = "one"; System.out.print(arr[0]); }catch(Exception ex){ System.out.print("exception"); }catch(NullPointerException nex){ System.out.print("null pointer exception"); } }}

None of these
"exception" is printed.
"null pointer exception" is printed.
"one" is printed.
Compilation fails saying NullPointerException has already been caught.

ANSWER DOWNLOAD EXAMIANS APP