what is difference between throw and throws in exception?
Answer Posted / savita patil
throw is used for to through exception system explicitly,and
throws is u sed for to throws exception means throws
ioexception and servletexception and etc.........
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Discuss about garbage collector in Java.
What is flag in java?
How do you define a variable?
What is use of set in java?
What is a website container?
What kind of variables can a class consist?
What about features of local inner class?
What are dot operator queries?
Why is a string immutable?
Is integer a class?
What is the final access modifier in java?
Which api is provided by java for operations on set of objects?
What is the use of optional ?
What is floor in java?
What programs use java?