what is difference between Exception and Error?

Answer Posted / ajit kumar dubey

an event occur during execution time, is called exception
when ur program compile then that time event occur is
called error.

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to split string in java?

660


How to make a non daemon thread as daemon?

556


Does a class inherit the constructors of its superclass in java programming?

534


What are the different ways to handle exceptions?

543


What are loops in java?

554






What modifiers may be used with a top-level class?

578


Can a main method be overloaded?

575


What is meant by data hiding in java?

640


What are static blocks and static initalizers in java ?

587


Difference between process and thread?

610


Which is easier netbeans or eclipse?

614


Difference between object and reference?

687


Difference between a process and a program?

619


Explain what is encapsulation?

611


What is a generic data type?

574