what is difference between Exception and Error?

Answer Posted / suresh.g

Exception is handled at the run time.
Eg:- divide by zero.
Error is some thing is wrong in program.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread safe in java?

553


What the difference is between execute, execute Query, execute Update?

375


What method is used to specify a container's layout in java programming?

542


Tell us something about an iterator.

550


What do you understand by casting in java language?

580






What is an example of procedure?

516


What is numeric data type?

529


What is hash in java?

523


What is the main advantage of passing argument by reference?

505


Is there any limitation of using inheritance?

571


Tell me a few examples of final classes defined in Java API?

565


Explain covariant method overriding in java.

544


What is use of functional interface in java 8? Explain

567


How to handle a web browser resize operation?

545


what is collatration?

2745