NumberFormatException
RuntimeException
Hence, what is the effect of attempting to compile and run the Java program that consists only of the following:
public class Test { public static void main(String[] args) { try { method(); } catch (NumberFormatException nfe) { System.out.println("B"); } finally { System.out.println("C"); } System.out.println("D"); } private static void method() { int x = Integer.parseInt("three"); System.out.println("A"); } }
Select the most appropriate answer.