What is the purpose of the "finally" block in Java exception handling?
A. To throw exceptions explicitly
B. To specify code that must be executed regardless of whether an exception is thrown or caught
C. To specify the exception type
D. When an exception does not rise
Answer: Option B
Join The Discussion