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
Why is string class considered immutable?
Is space a character in java?
How many unicode characters are there?
Give us the name of the list layoutmanagers in java?
Is string serializable in java?
Tell us something about an iterator.
What does 0 mean in boolean?
What is cr keyboard?
Define inheritance?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is variable explain?
Can Exception handling we can handle multiple catch blocks?
What is formatted output in java?
How can we avoid including a header more than once?
How to create packages in java?