What is the requirement of finally block
Answers
Answered by
0
Answer:
A finally block contains all the crucial statements that must be executed whether exception occurs or not. The statements present in this block will always execute regardless of whether exception occurs in try block or not such as closing a connection, stream etc.
Explanation:
hope it is useful.
please make me brainleist.
Answered by
1
A finally block contains all the crucial statements that must be executed whether exception occurs or not. The statements present in this block will always execute regardless of whether exception occurs in try block or not such as closing a connection, stream etc.
Similar questions