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 style and indentation?
What is final keyword in java? Give an example.
What does string [] args mean?
How many types of the indexof method are there for strings?
Why does java doesnt suuport unsigned values?
Explain reverse a linked list iterative solution in java?
What are inbuilt functions in java?
Why scanner is used in java?
Difference difference paint() and paintcomponent()?
Can we write method inside a method in java?
What is java string pool?
What are peerless components in java programming?
Explain about field hiding in java?
Explain the private protected method modifier?
Why we cannot override static method?