what is difference between Exception and Error?

Answer Posted / ranjan singh

Errors-"this error occur because of user which is make some error in application".
Exception-"it is unpredictable error occured during run time."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a byte string?

604


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

546


Explain a few methods of overloading best practices in java?

493


Is java programming easy?

526


Which container method is used to cause a container to be laid out and redisplayed in java programming?

586






What is the main difference between java platform and other platforms?

490


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

508


Explain illegalmonitorstateexception and when it will be thrown?

598


What do you understand by an io stream?

568


When do we use synchronized methods in java?

570


What is meant by tab pans?

637


What is the meaning of course?

567


What are different type of exceptions in java?

536


Difference between object instantiation and construction ?

564


Why char array is preferred over string for storing password?

573