what is difference between throw and throws in exception?
Answer Posted / clement
throws specifies that a method could throw an exception
while throw is used to throw a particular type of exception
throw IOException;
public void clem()throws exception
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is the difference between throw and throws in java?
Is 0 an irrational number?
What are access specifiers available in java?
What is navigable map in java?
What is difference between adapter class and listener?
Difference between a class and an object?
How do you delete a list in java?
What is the byte order of byte buffer?
What is final modifier?
What is the difference between numeric and integer?
Name container classes in java programming?
What is queue in java?
What is default constructors?
How hashset works internally in java?
What do you mean by checked exceptions?