what is difference between throw and throws in exception?
Answer Posted / suman
"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is identifier give example?
What is the main purpose of java?
What is meant by the value of a variable?
What are untrusted applets?
What is the difference between a field variable and a local variable?
What means public static?
Explain methods specific to list interface?
What is super constructor?
What are the basics of core java?
Describe different states of a thread.
Why is inheritance used in java?
What are thread priorities and importance of thread priorities in java?
What are predicates in java 8?
How to reverse string in java?
What is lazy programming?