what difference between throw and throws in exception
handling.
Answer Posted / sidd
In case of java if any error occur deuring the exicution
time throw is use to throwing that that into our catch block
for handling and in case of throws if any error
will occur throws can handle that error.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Where are the card layouts used?
How does hashmap work in java ?
What two classes are used to read data only?
What is difference between wait and notify in java?
What is difference between path and classpath?
How can we achieve thread safety in java?
When is the finalize() called?
Is zero a positive integer?
Does list maintain insertion order java?
What do you mean by platform independence of Java?
Can we restart a thread already started in java?
What is boolean query?
What do you mean by order of precedence and associativity?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
What are the Main functions of Java?