Examveda
Examveda

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

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

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

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

D. No, a "finally" block must be associated with a "catch" block

Answer: Option C


This Question Belongs to Java Program >> Exceptions

Join The Discussion

Related Questions on Exceptions