what is difference between Exception and Error?

Answer Posted / zohaib

exception occurs at runtime of your program
while an error may arise during your compile time

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is there a separate stack for each thread in java? : Java thread

528


How do I run java on windows?

519


What is the full name of java?

559


How strings are created in java?

551


How does arraylist size increase in java?

523






Name few java.lang classes introduced with java 8 ?

525


Explain about the dynamic behavior of core java?

623


How do generics work?

509


what is abstract class in Java?

639


What does n mean?

510


Explain serialization and deserialization in java?

544


What is unicode full form?

541


Can we declare an array without size in java?

511


What are the differences between checked exception and unchecked exception?

518


Why is java so popular?

621