Answer:
This program will display "Welcome to Java" two times and then followed by "End of the block"
Step-by-step explanation:
Here, the following program written in Java Programming Language.
Firstly, the class is defined "test" after that, the main method is defined "public static void main(String[ ] args)" then, set the try block and inside the try block print "Welcome to Java" then, two integer variable is declared "i" to 0 and "y" to 2/i then, again print "Welcome to Java" then close the try block.
Then, set the catch block and pass the exception "RuntimeException ex" inside the catch block again print "Welcome to Java" and close it.
Then, set finally block and inside it print "End of the block" and close it.