what is difference between Exception and Error?

Answer Posted / vinay

Exceptions can be system defined or CAN BE USER DEFINED
(means user can enforce exceptins) whereas run time errors
are thrown by system only.

Is This Answer Correct ?    13 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are primitives objects?

562


What is stringreader?

523


What is the difference between the size and capacity of a vector?

563


Why is whitespace important?

547


How to avoid memory leak in java?

595






How many bytes are a float?

501


What is assembly used for?

498


What’s the difference between unit, integration and functional testing?

613


What do you understand by soft reference?

582


What is the difference between call by reference and call by pointer?

497


Which oo concept is achieved by using overloading and overriding?

532


What are the two main uses of volatile in Java?

595


What are the advantages of java over cpp?

551


What are the benefits of operations in java?

491


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

528