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
Can we have two methods in a class with the same name?
Is null a string?
What is protected access modifier?
What do you understand by weak reference?
What's a method in programming?
What is the use of jtable?
What is the use of System class?
What is the properties class in java programming?
What are the features of java?
What is arrays aslist in java?
What is the final class modifier?
What are the differences between heap and stack memory?
Explain list interface?
Explain the term virtual machine?
What is the purpose of static methods and static variables?