what is difference between throw and throws in exception?
Answer Posted / shiva
throw is used for to through exception system explicitly,and
throws is u sed for to throws exception means throws
ioexception and servletexception and etc.........
Is This Answer Correct ? | 41 Yes | 29 No |
Post New Answer View All Answers
What is object data type?
What is the importance of main method in Java?
What is java oops?
Explain an algorithm to find depth of a binary tree.
How to sort array of 0 and 1 in java?
Are maps ordered java?
Will the jvm load the package twice at runtime?
What is finalize()?
Difference between ‘>>’ and ‘>>>’ operators in java?
What is java in layman terms?
What do you understand by the term wrapper classes?
What is the difference between instanceof and isinstance?
What is a programming object?
How do you detect memory leaks?
What is meant by object oriented programming – oop?