What is the significance of try, catch and finally block ?
Answers
Answered by
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
History,
7 months ago
Math,
7 months ago
Social Sciences,
7 months ago
Computer Science,
1 year ago
English,
1 year ago
Math,
1 year ago