Java / Exception
Explain finally block in Java.
Java finally block is used to execute important code such as closing connection, stream and files.
Java finally block is always executed whether exception is handled or not. Java finally block follows try or catch block.
More Related questions...