What happens when a finally block contains a return statement and the try block also contains a return statement?
-
A
The try block's return value is used
-
B
The finally block's return value overrides the try block's return value
-
C
A compile-time error occurs
-
D
The method throws an exception