Vidyalelo
Java Programming · Q7

Exceptions

Programming · Java Programming · question 7

Q7

What is the purpose of the "throw" keyword in Java exception handling?

A.
To explicitly throw an exception
Answer
B.
To catch exceptions
C.
To specify exception types
D.
To declare a method as "throws"

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board