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 |
Explain importance of throws keyword in java?
What is array class in java?
what is Abstract DataType?
What is java ceil?
What are checked exceptions?
what is predefined function in java?
what is abstract class in Java?
Which method must be implemented by all threads?
I need help please send me reply: Write a program "if given a string like 'HAT', the combination's returned should be like ATH,THA,TAH in java"?
What are init(), start() methods and whey they are called?
What is the old name of java?
Nullpointer exception is a very common exception. Why is it not made as a checked exception?