what is difference between throw and throws in exception?
Answer Posted / shiva
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 ? | 41 Yes | 29 No |
Post New Answer View All Answers
What is a native method in java programming?
What restrictions are placed on method overloading in java programming?
How do you sort data in java?
Give an example of use of pointers in java class.
Why lambda expression is used in java?
What does int argc char * argv [] mean?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What is assembly used for?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What do you mean by byte code?
What is the purpose of a transient variable?
Why are global variables used?
What are parsing rules?
What is a line break example?
Why is stringbuffer called mutable?