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
What are annotations in java?
How do generics work in java?
Can constructor be static or final?
Does treeset use compareto?
What is the difference between overriding and overloading in OOPS.
What are classloaders?
what is synchronization? : Java thread
What is thread pool? How can we create thread pool in java?
Define reflection.
Is java based on c?
What is a bufferedreader?
What is a vector in java?
What is variable argument in java?
In how many ways we can do synchronization in java?
What is literal example?