What is the output of the following code?
public class Geeks {
public static void main(String[] args) {
try {
System.exit(0);
} finally {
System.out.println("Finally executed");
}
}
}
Finally executed
No output
Compilation Error
Runtime Exception
This question is part of this quiz :
Java Exceptions