In what ways you can handle exception ?

Answers were Sorted based on User's Feedback



In what ways you can handle exception ?..

Answer / niranjanravi

using try--catch--finally
using throws

Is This Answer Correct ?    4 Yes 0 No

In what ways you can handle exception ?..

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

In what ways you can handle exception ?..

Answer / kabita

we can handle exception by using
try
catch
finally
throw
throws.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Core Java Interview Questions

Can You Have Virtual Functions In Java?

0 Answers  


What is the difference between assignment and initialization?

0 Answers  


Why set is used in java?

0 Answers  


How do you sort in ascending order in java?

0 Answers  


When would you use a static class?

0 Answers  






What purpose do the keywords final, finally, and finalize fulfill?

0 Answers  


What is stack example?

0 Answers  


Does java linked list allow duplicates?

0 Answers  


How GC (Garbage Collector) knows the objects reference is unused.Whether GC removes the unused object Parmanently or it maintains something.

2 Answers  


What is the difference between a vector & an array list?

0 Answers   Agilent,


How many bits is a float?

0 Answers  


What is java lang object?

0 Answers  


Categories