0 votes
in JAVA by
Which keyword is used to indicate that a method can throw an exception?

a) catch

b) throw

c) throws

d) try

1 Answer

0 votes
by
Answer: c) throws

Explanation: The “throws” keyword is used to indicate that a method can throw an exception.

Related questions

0 votes
asked May 3, 2021 in JAVA by Robindeniel
0 votes
asked May 2 in JAVA by Robin
...