Examveda
Examveda

In Java, can a method declare multiple exceptions using the "throws" keyword?

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

B. Yes, a method can declare multiple exceptions separated by commas

C. Only if the exceptions are marked as "final"

D. Only if the method is marked as "static"

Answer: Option B


This Question Belongs to Java Program >> Exceptions

Join The Discussion

Related Questions on Exceptions