what is difference between Exception and Error?

Answer Posted / s.devi

Error will not be controlled by the developer .
Eg:
Stack over flow,Memory over flow,Hard-disk failure,I/O
failure.


Exception will be controlled by the developer.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make a thread in java?

622


Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview

2847


what do you mean by classloader in java?

564


why Java does not support multiple inheritances?

694


What is the properties class?

549






Which java ide is used the most?

502


What is the use of set in java?

604


What are use cases?

554


What do you mean by buffering?

545


Can we have return statement in finally clause? What will happen?

506


Is java a prime method?

543


What if static is removed from main method?

562


When throws keyword is used?

574


Is it possible to override the main method?

525


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1587