American Express Interview Question

How does "finally" function in Java?