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
Do loops java?
What data type is a string?
What does a boolean method return?
Which is bigger double or float?
Can a method be overloaded based on different return type but same argument type?
Are registers volatile?
What are singleton services?
What is classes in java?
What are the parts of methodology?
What is integer valueof?
What is the purpose of using javap?
What is locale?
What is difference between pointer and reference?
Is array serializable java?
What is class forname?