What is displayed on the console when running the following program?
class Test {
public static void main(String[] args) {
| System.out.println("Welcome to Java"); |
| System.out.println("Welcome to HTML"); |
| System.out.println("The finally clause is executed"); |
}
}
◦ Welcome to Java.
◦ The program displays three lines: Welcome to Java, Welcome to HTML, The finally clause is executed.
◦ Welcome to Java followed by The finally clause is executed in the next line.
◦ None of the above.