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 java console application?
What is the method in java?
What is difference between calling start() and run() method of thread?
How to create a fecelet view?
What is variable and example?
What is a instance variable in java?
What is passing value java?
What are the different ways to handle exceptions?
What is thread safe singleton?
Why parameters should be passed by reference?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Is null keyword in java?
Why are generics used?
What is an infinite loop in java? Explain with an example.
What 5 doubled?