Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference between error and exception

Answers were Sorted based on User's Feedback



Difference between error and exception..

Answer / rams

The mistakes in the syntax are resulted as errors
the mistakes in the logic of a program resulted as exceptions.

Is This Answer Correct ?    16 Yes 1 No

Difference between error and exception..

Answer / modi

An error is an irrecoverable condition occurring at runtime.
Such as OutOfMemory error. These JVM errors and you can not
repair them at runtime. While exceptions are conditions that
occur because of bad input etc. e.g. FileNotFoundException
will be thrown if the specified file does not exist. Or a
NullPointerException will take place if you try using a null
reference. In most of the cases it is possible to recover
from an exception (probably by giving user a feedback for
entering proper values etc.).

Is This Answer Correct ?    3 Yes 0 No

Difference between error and exception..

Answer / chitraraman

Error in java means the mistake done buy the programmer
logically or syntatically.
Exception is an error thrown by java impllctly like
IOException,Array out of bound Exception

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Core Java Interview Questions

how to compile jsp?

4 Answers   Logica CMG,


How to handle a web browser resize operation?

0 Answers  


without using arthematic operation ,how can you write the logic for adding/substraction/multiplication?

7 Answers   Tanla Solutions, Wipro,


What are batch updates. in jdbc

2 Answers   Corent Technology,


What is java and their uses?

0 Answers  


Why we use protected in java?

0 Answers  


What is your platform?s default character encoding and how to know this?

0 Answers   TCS,


What is Difference between Serializable and Externalizable in Java serialization?

1 Answers   Cognizant, IBM,


How can I debug the Java security exceptions and AccessControlExceptions?

0 Answers   IBM,


How does remove work in java?

0 Answers  


What are peerless components in java programming?

0 Answers  


WHAT IS JDK,JVM,CLASS DEFINE ALL?

2 Answers  


Categories