How to avoid the runtime exception ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is deserialization?

788


Can we write any code after throw statement?

803


What is the purpose of an interface?

756


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

733


What is the differences between heap and stack memory in java? Explain

720


What is the difference between an array and an array list?

710


Can a class have an interface?

737


What is the main use of java?

807


What is class variable java?

760


What is difference between length and length() method in java ?

755


What is unmodifiable list in java?

709


what are the states associated in the thread? : Java thread

809


What is the original name of java?

760


Why do we need variables?

711


What are the advantages of arraylist over arrays?

777