Java - Exception Handling
What will be the output of this code?
public class Example {
public static void main(String[] args) {
try {
System.out.print("A");
throw new RuntimeException();
} catch (Exception e) {
System.out.print("B");
return;
} finally {
System.out.print("C");
}
System.out.print("D");
}
}