Login
Remember
Register
Ask a Question
Which keyword is used to indicate that a method can throw an exception?
0
votes
asked
May 4, 2024
in
JAVA
by
rahuljain1
Which keyword is used to indicate that a method can throw an exception?
a) catch
b) throw
c) throws
d) try
method
can
throw-exception
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 4, 2024
by
rahuljain1
Answer: c) throws
Explanation: The “throws” keyword is used to indicate that a method can throw an exception.
...