what is difference between throw and throws in exception?
Answer Posted / srinath
throws keyword is used 2 delegate the responsibility of
exception handling 2 caller method where as throw keyword
used 2 hand over the creted customised excetion object 2
jvm 2 handle the excepion.
Is This Answer Correct ? | 33 Yes | 7 No |
Post New Answer View All Answers
Why set is used in java?
What is object of class in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is Applet Stub Interface ?
What is an object's lock and which object's have locks in java programming?
what is encapsulation in java? Explain
What is a cup of java?
What is your platform’s default character encoding?
What is the method overriding?
what is a thread pool in java and why is it used?
What are the advantages of java over cpp?
What is byte value?
What is treeset and treemap in java?
What is lazy initialization in java?
What do you mean by synchronized non access modifier?