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 is the difference between a field variable and a local variable?
Can we overload the methods by making them static?
What data type is string java?
What is static variable with example?
What is mnemonic code?
How to sort an unsorted array in java?
What is the byte order of byte buffer?
Explain public static void main(string args[]).
what is object-oriented programming in java?
What are some characteristics of interference class?
Why do we need hashmap in java?
What do you mean by exception handling in Java?
What is the purpose of the main method?
java program with complete 4 oops concepts implemented example
Under what conditions is an object’s finalize() method invoked by the garbage collector?