Examveda
Examveda

In Java, can a "finally" block be used without a "try-catch" block?

A. Yes, a "finally" block can be used independently

B. Only if the "finally" block is marked as "static"

C. No, a "finally" block must be associated with a "try-catch" block

D. Only if the "finally" block is marked as "final"

Answer: Option C


This Question Belongs to Java Program >> Exceptions

Join The Discussion

Related Questions on Exceptions