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 |
Can You Have Virtual Functions In Java?
What is the difference between assignment and initialization?
Why set is used in java?
How do you sort in ascending order in java?
When would you use a static class?
What purpose do the keywords final, finally, and finalize fulfill?
What is stack example?
Does java linked list allow duplicates?
How GC (Garbage Collector) knows the objects reference is unused.Whether GC removes the unused object Parmanently or it maintains something.
What is the difference between a vector & an array list?
How many bits is a float?
What is java lang object?