What is displayed on the console when running the following program?
```
public class Test {
public static void main(String[] args) {
try {
System.out.println("Welcome to Java");
int i = 0;
double y = 2.0 / i;
System.out.println("Welcome to HTML");
}
finally {
System.out.println("The finally clause is executed");
}
}
}```
a. Welcome to Java.
b. Welcome to Java followed by The finally clause is executed in the next line.
c. The program displays three lines: Welcome to Java, Welcome to HTML, The finally clause is executed.
d. None of the above.
c A floating number divided by 0 does not raise an exception.
You might also like to view...
Themes applied to text formatted in columns CANNOT be modified
Indicate whether the statement is true or false
For each book title with more than 3 copies, list the names of library members who have borrowed them.
What will be an ideal response?