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

Explain the usage of this with constructors?

0 Answers  


What are memory tables?

0 Answers   Aspiring Minds,


When we give defination of interface method in the class why method must be public???

2 Answers  


how you will prevent inheritance is there any other way other than inheritance?

4 Answers   Wipro,


relation between list and linked list

1 Answers   Infosys,






How the elements are organized in CardLayout?

5 Answers  


Why is singleton class used?

0 Answers  


What is the difference between an inner class and a sub-class?

0 Answers  


What are the uses of final, finally and finalize in java?

2 Answers   Agiline, FINO PayTech, HCL,


What is the similarity between dynamic binding and linking?

0 Answers  


What is bytecode in java ?

0 Answers  


how to use finalize()Method to resources

4 Answers   TCS,


Categories