How to avoid the runtime exception ?
Answers were Sorted based on User's Feedback
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 |
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 |
Difference between collection, collection and collections in java?
What happens when a main method is declared as private?
22 Answers DELL, Infosys, L&T, Sun Microsystems,
What are the types of literals?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
Difference between ‘is-a’ and ‘has-a’ relationship in java?
Nullpointer exception is a very common exception. Why is it not made as a checked exception?
What is multithreading and its advantages?
Can constructor be inherited?
What is high level language in computer?
What is the flag in java?
Is string a wrapper class?
Difference between process and thread?