Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which keyword is used to indicate that a method can throw an exception?
Home
JAVA
Which keyword is used to indicate that a method can throw an exception?
0
votes
asked
May 4
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
by
rahuljain1
Answer: c) throws
Explanation: The “throws” keyword is used to indicate that a method can throw an exception.
...