what is difference between Exception and Error?

Answer Posted / milan kumar

Exception means abnormal condition which is occur in our
code during program execution.
but error means it can't handle by the system.for
example,thread dead,out of memory,overflow.

Is This Answer Correct ?    7 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between start() and run() method of thread class?

594


What is function overriding and overloading in java?

587


What is the maximum size of hashmap in java?

541


When we serialize an object does the serialization mechanism saves its references too?

512


What is append function?

572






How do you use compareto in java?

564


Do I need java on my pc?

514


what is recursion in java

602


Does list maintain insertion order java?

541


What is %02d?

580


What is a java applet? What is an interface?

635


What happens when a thrown exception is not handled?

584


List the three steps for creating an object for a class?

517


How to sort an unsorted array in java?

613


Can you explain the meaning of aggregation and composition

574