Java задачи • Mentor
Is the finally block always executed?
☝️ Explanation:
The final block is always executed unless there is an abnormal termination of the program, either as a result of a JVM failure or calling the System.exit(0)
The final block is always executed unless there is an abnormal termination of the program, either as a result of a JVM failure or calling the System.exit(0)
👍4🤯4
What is the result of the next code? for(;;)
Anonymous Quiz
9%
This code will not be executed
75%
Infinity cycle
11%
Compile error
5%
Runtime error
👍7👏1