Examveda
Examveda

In Java, can a method throw any checked exception without declaring it using "throws"?

A. Only if the exception is marked as "static"

B. Only if the method is marked as "final"

C. No, a method must declare checked exceptions using the "throws" keyword

D. Yes, a method can throw any checked exception without declaration

Answer: Option D


This Question Belongs to Java Program >> Exceptions

Join The Discussion

Related Questions on Exceptions