Code: Select all
public class Test
{
private static String s ;
public static void main(String[] args)
{
try{
System. out .println( s .length());
}
catch (NullPointerException | RuntimeException ex) {
System. out .println( "DONE" );
}
}
}
Are these in for JAVA SE-11 lvl-1 exam ? give a brief about this