what is difference between throw and throws in exception?
Answer Posted / neema
"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"
| Is This Answer Correct ? | 261 Yes | 50 No |
Post New Answer View All Answers
How does arrays sort work in java?
What is the default size of set in java?
What comes to mind when someone mentions a shallow copy in java?
What does indexof mean?
What is an infinite loop? How infinite loop is declared?
what is encapsulation in java? Explain
What is the function of java?
Does java set allow duplicates?
What is quick sort in java?
What methods are used in Servlet?Applet communication?
What is meant by method?
What is the default value of local and global variables?
What are the benefits of operations in java?
What are java threads?
What checkbox method allows you to tell if a checkbox is checked?