what is difference between Exception and Error?

Answer Posted / pranab garai

Error occurs at runtime and cannot be recovered, Outofmemory
is one such example. Exceptions on the other hand are due
conditions which the application encounters such as
FileNotFound exception or IO exceptions

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we extend immutable class?

536


What are internal and external variables?

548


What is this keyword used for?

695


What is the difference between preemptive scheduling and time slicing in java programming?

540


what is the messsage u r going to get from an objectoriented programing?

1617






Tell me about your ability to work under pressure

1772


What is package private scope in java?

538


What is the difference between conversation & casting?

582


What is the difference between the ">>" and " >>>" operators in java?

513


What is the use of object and class classes?

571


How can you write a loop indefinitely in java programming?

556


Does substring start with 0?

560


What is volatile data type?

553


What are strings in physics?

551


Explain different types of thread priorities ?

626