what difference between throw and throws in exception
handling.
Answer Posted / narayana reddy
throws indicates what type of exception is thrown by
a particular function, where as throw is used to through
user defined exceptions
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is reverse function?
Can we create more than one object singleton class?
What is a treeset in java?
Is it possible to write a regular expression to check if string is a number?
What do you understand by casting in java language?
How transient variable is different from volatile variable?
What is break and continue statement?
What is a jit compiler?
How to perform selection sort in java?
Can we have any other return type than void for main method?
What is console based application in java?
What are accessor methods in java?
List the interfaces which extends collection interface?
What is purpose of find feature?
What is number data type?