In what ways you can handle exception ?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
using try catch
using throws for delegation of exceptions
using throw to define an exception
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / kabita
we can handle exception by using
try
catch
finally
throw
throws.
| Is This Answer Correct ? | 1 Yes | 1 No |
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is dynamic dispatch in java?
How does a for loop work?
Explain about abstract classes in java?
Explain the private protected method modifier?
What's the purpose of using break in each case of switch statement?
What are the differences between wait() and sleep()?
What is the difference between throw and throws in java?
Differences between GridLayout and GridBagLayout?
How do you reverse a string in java without using string buffer?
What are the five major types of reference sources?
What is java lang object?