What is the difference between throw and throws?
Answers were Sorted based on User's Feedback
Answer / rajanani
'throw' is declare the exception and throws is defined the
exception
| Is This Answer Correct ? | 3 Yes | 7 No |
what is wrapper class and its uses?
What is a Java switch statement, and how can it be used?
Can you explain the Java thread lifecycle?
What is illegal identifier in java?
what modifiers are used with top-level class?
Is there is any error if you have multiple main methods in the same class?
Java.util.regex consists of which classes?
Can you make a constructor final?
Is java is a fully object object oriented language?
how do you store phone numbers using java collections
What is meant by javabeans?
How do you avoid global variables?