A Admin • 828.03K Points Coach Q. What is the purpose of the "throws" keyword in Java method declaration? (A) To indicate that the method will throw an unchecked exception (B) To specify the exception message (C) To indicate that the method may throw a checked exception (D) To specify the exception type Correct Answer - Option(C) Views: 12 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.