American Express interview question

How does "finally" function in Java?