what is difference between throw and throws in exception?
Answer Posted / pasupathi
throw is used to handle user defined Exception where as throws is used ti handle Predefined exceptions
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is final, finally, finalize?
Can the interface be final?
What is parse method?
Explain the difference between collection api and stream api in java8?
What is comparator in java?
Which is better ascii or unicode?
Is call by reference possible in java?
What will happen if static modifier is removed from the signature of the main method?
What is a qualifier in a sentence?
How to print an arraylist in java?
What is boolean strategy?
What is java and their uses?
what do you understand by the term string with respect to java?
What is finalize()? Is finalize() similar to a destructor?
What 4 doubled?