what is difference between throw and throws in exception?
Answer Posted / pasupathi
throw is used to handle user defined Exception where as throws is used ti handle Predefined exceptions
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of callablestatement?
What is the difference between final, finally and finalize() in java?
Why collection doesn’t extend cloneable and serializable interfaces?
How do you use spaces in java?
What is re-factoring in software?
What are the differences between stringbuffer and stringbuilder?
Does constructor creates the object ?
What is getkey () in java?
Is map sorted in java?
What are "class access modifiers" in Java?
Can you explain the usages of class.forname()?
What is multithreading in java?
What is difference between this and super keyword?
How do you define a set in java?
What is time complexity java?