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
Discuss 2D arrays.
What is floor math?
Name container classes in java programming?
What is casting in java programming?
What is the main use of java?
What language is an assembler written in?
Why string is not a wrapper class?
How can a gui component handle its own events in java programming?
What is a treeset class?
What are white spaces in java?
How an object is serialized in java?
Can we write any code after throw statement?
How many decimal digits is 64 bit?
Can we declare a static variable inside a method?
What is dynamic array in java?