What is the difference between throw and throws?
throw is used to declare exceptions, throws is used to throw exceptions
throws is used to declare exceptions, throw is used to throw exceptions
Both are used to declare exceptions
Both are used to throw exceptions
This question is part of this quiz :
Java Exception Handling