What is the difference between throw and throws?
What is the similarity between try and throw?
Answer Posted / giri
throw is used to throw an exception manually, where as
throws is used in the case of checked exceptions
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is regex used for?
What are the main differences between notify and notifyAll in Java?
Explain tree set and its features?
List types of storage classes in java?
What is the preferred size of a component in java programming?
What are the object and class classes used for?
How do you use find and replace?
Can we increase size of array?
What is the association?
What is the intersection and union methods?
Which software is used for java programming?
Write a program in java to establish a connection between client and server?
What is the final access modifier in java?
Write an algorithm for quick sort?
Does treeset use compareto?