Answer Posted / shanthini
The keyword 'throws' should be used only with the methods while the keyword 'throw'is a clause...
Throws is actually a declaration of any methods and Throw is used to handle the exceptions...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a boolean structure?
How will you initialize an Applet?
How does thread synchronization occurs inside a monitor?
What is multi-catch block in java?
What are the steps in the jdbc connection?
How do I print a “?
Compare Mutex and Semaphore in java.
What is entry set in java?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What are the types of methods in java?
How do you initialize an arraylist in java?
What is the generic function?
Why is java multithreaded?
when to use ArrayList and when to use HashMap in webApplication.
What is the purpose of the finally clause of a try-catch-finally statement in java programming?