Solved

How Is the Finally Keyword Used in Java

Question 26

Multiple Choice

How is the finally keyword used in Java?


A) To indicate that a method should terminate and pass a value to the calling environment.
B) To indicate the last statement that will execute in a program.
C) To indicate an action that should take place whether an exception occurred or not.
D) To indicate a termination condition for a loop.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions