what is difference between throw and throws in exception?
Answer Posted / bhavannarayana ch
To handover an Exception object to the JVM Programatically by using the "throw"
To delegate the responsibility of Exception handling to the caller by using "throws"
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is 0 an irrational number?
How do I remove a character from a string in java?
What is preflight request?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What are the basic control structures?
What is the replace tool?
Why do we use predicate in java?
What does arrays sort do in java?
What is an interoperable application in java ?
Explain about interthread communication and how it takes place in java?
What is the difference between final, finally and finalize() in java?
Give some features of interface?
What are strings in physics?
What do you understand by synchronization?
what is difference between equals and ==?