Consider the following program: public class ClassNameHere {…
Consider the following program: public class ClassNameHere { public static int methodA(String s) { System.out.print(“A”); int x = s.length() ; // NullPointerException here return x; } public static void main(String[] args) { try { int y = methodA(null); System.out.print(“B”); System.out.print(“C”); } catch (NullPointerException e) { System.out.print(“D”); } catch (Exception e) { System.out.print(“E”); } finally { System.out.print(“F”); } }} Which of the following will print out when the program is run? Select all values the print out.