What is Exception handling in Java
How do you handle run time errors please explain with an
example

Answer Posted / edward sudhahar chennai

Exception handling is a mechanism to handle unexpected
situations in java. This avoids the program to be
terminated upnormaly.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the performance aspects of core java?

558


What does this () mean in java?

549


How can a gui component handle its own events?

599


How does the java compiler work?

532


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

545






Is string a wrapper class?

519


What is void class in java?

528


What is the java virtual machine?

591


What is a singleton class in Java?

514


How can you read content from file in java?

601


Explain the difference between abstraction and encapsulation.

540


Why are lists ordered in java?

551


What do you mean by collectors in java 8?

546


How is hashset defined in java?

523


Can we override private method in java?

624