what is difference between throw and throws in exception?
Answer Posted / krishna
Throws is a keyword.This is used to say explicitly this
method has doughtful body,where as Throw is used to handle
the exception in next level or itself..............
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between final, finally and finalize()?
What is the difference between class & structure?
How do you remove all elements from an arraylist in java?
Which is bigger float or double?
Can we convert list to set in java?
What are filterstreams?
What are heap memory and stack memory and what are memory tables.
Where is stringbuffer stored?
What is the purpose of the file class in java programming?
What is string pool?
What are the parts of a method?
What is stack class in java?
What is the file type?
How can I become a good programmer?
How do I convert a string to an int in java?