Computer Science, asked by TbiaSamishta, 1 year ago

What is the significance of try, catch and finally block ?

Answers

Answered by aqibkincsem
0

Java finally block is a block that is used to execute important code such as closing connection, stream etc.Java finally block is always executed whether exception is handled or not. .


The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught

Similar questions