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
What is the technique adopted to create an immutable class?
What is the simpletimezone class in java programming?
Can you explain the usages of class.forname()?
Can you extend singleton class?
What are the 8 data types in java?
What does int [] mean in java?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What are inbuilt functions?
What is difference between pointer and reference?
What are the classes of java?
How to change the priority of thread or how to set priority of thread?
What is ordered map in java?
Explain the difference between hashmap and hashtable in java?
What value is a variable of the string type automatically initialized?
What is the r character?