What is the difference between throw and throws?
What is the similarity between try and throw?
Answers were Sorted based on User's Feedback
Answer / giri
throw is used to throw an exception manually, where as
throws is used in the case of checked exceptions
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / amar
throw is a statement level.throws is a method level.
In manual exception handling,we can also use the throws to
handle the excepions by the jvm,insted of handling there.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the purpose of skeleton and stub?
How many tetrahedral voids are there in bcc?
What is string manipulation?
Explain about class in java?
When throws keyword is used?
Is there any limitation of using inheritance?
Explain access specifiers?
0 Answers Thomson Reuters, Virtusa,
Why to use nested classes in java?
Enlist diffrent types of inheritance supported by java?
Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.
What is a consumer in java?
What is the difference between multitasking and multithreading in Java
0 Answers Sans Pareil IT Services,