How to avoid the runtime exception ?

Answers were Sorted based on User's Feedback



How to avoid the runtime exception ?..

Answer / ravikiran(aptech mumbai)

We cann't avoid a runtime exception it will be handled by
the jvm's default exception handler and print's the
particular stacktrace.

Is This Answer Correct ?    9 Yes 2 No

How to avoid the runtime exception ?..

Answer / therathna

write a program as per java specifications so that we can
avoid run time exceptions

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Core Java Interview Questions

Given a singly linked list, determine whether it contains a loop or not without using temporary space?

0 Answers   Global Logic,


What is difference between static class and singleton pattern?

0 Answers  


What are the parts of a method?

0 Answers  


What is an association?

0 Answers  


When should you make a function static?

0 Answers  


How are this() and super() used with constructors?

9 Answers  


Explain an algorithm to find depth of a binary tree.

0 Answers   Akamai Technologies,


How does a for loop work?

0 Answers  


Why is singleton instance static?

0 Answers  


What is the life cycle of Thread ?

12 Answers   HCL, Varnar Softech,


What is the do while loop syntax?

0 Answers  


What are the methods to rectify ambiguities in the interfaces in JAVA?

0 Answers   CGI,


Categories