What is the difference between throw and throws?
Answer Posted / ravikiran
throw will declare an exception
throws will throw the exception to the calling method
| Is This Answer Correct ? | 16 Yes | 8 No |
Post New Answer View All Answers
What is the biggest integer?
Why hashmap is used in java?
Write a program in java to create a doubly linked list containing n nodes.
What does java se mean?
What is the difference between equals() and?
How do you use compareto method?
What is a class component?
What is the use of arrays tostring () in java?
Explain about exception propagation?
What is the functionality of the stub?
What is the advantage of preparedstatement over statement?
Can we convert stringbuffer to string?
What sorting algorithm does javascript use?
What are the advantages and disadvantages of object cloning?
What is sizeof () operator?