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...


what is the difference between ERROR and EXCEPTION?

Answers were Sorted based on User's Feedback



what is the difference between ERROR and EXCEPTION?..

Answer / prashant kalmodiya

ERROR : Occurs at complile time

EXCEPTION : Occurs at runtime

Is This Answer Correct ?    51 Yes 7 No

what is the difference between ERROR and EXCEPTION?..

Answer / poonam

Error are those that do not allow are program to run. Some
errors cannot be fixed at compilation time they are runtime
errors. But exeptions are those that occur because of the
user during runtime which we are unable to avoid.For that we
use exeption handling to handle such kind of errors. These
allow the programs to execute and exit gracefully...

Is This Answer Correct ?    23 Yes 0 No

what is the difference between ERROR and EXCEPTION?..

Answer / maheswarreddy

error is mistake which takes place in step wise execution of a program.exception is nothing but wat v can catch the error to solve it.

Is This Answer Correct ?    16 Yes 7 No

what is the difference between ERROR and EXCEPTION?..

Answer / bhagya lakshmi

error is during compilation time it occurs without we post
and exception is we post it with throw,catch

Is This Answer Correct ?    11 Yes 3 No

what is the difference between ERROR and EXCEPTION?..

Answer / vignesh

Errors can't be prevented. Stop execution abruptly.
Exceptions can be caught and solved.

Is This Answer Correct ?    8 Yes 2 No

what is the difference between ERROR and EXCEPTION?..

Answer / kasturi

error occur at compile time
it expection is also a error that ouccur at run time which can retify using try,throw and catch

Is This Answer Correct ?    4 Yes 1 No

what is the difference between ERROR and EXCEPTION?..

Answer / harsh.chiks

>>ERROR-It occurs at compile time,it just stops the
execution of a program
EXCEPTION-IT occurs at run time,we can handle them by
exception handling.It doesn't abrupt the program execution

Is This Answer Correct ?    6 Yes 4 No

what is the difference between ERROR and EXCEPTION?..

Answer / novice

exception is a special situation of the program where we
need to deviate from the normal path of execution and define
our own path i.e code to handle it. it is an error like
situation but not actually an error.


error is a wrong opinion given by the user or mistakes and
misconstrued statements made by the programmer which cannot
be resolved by the programmer

Is This Answer Correct ?    2 Yes 0 No

what is the difference between ERROR and EXCEPTION?..

Answer / amitdubey

Errors are the mistakes we make in our progra
ms which we come to know in compile time and exception are the eroors that takes place during runtime.
they can be handled by exception handling

Is This Answer Correct ?    3 Yes 2 No

what is the difference between ERROR and EXCEPTION?..

Answer / umashankar mishra

Exception is runtime entity
error is acompile time entityye

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More OOPS Interview Questions

What is polymorphism in oops?

1 Answers  


What is the example of polymorphism?

0 Answers  


In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that

6 Answers  


What is memory leak and memory corruption?

1 Answers   TCS,


why the argument is passed by reference to a copy constructor?example?

2 Answers  


What is the difference between Home and $Home?

2 Answers   TCS,


What are the three parts of a simple empty class?

0 Answers  


create a c++ program that will ask 10 numbers and display their sum using array.

1 Answers  


1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage

2 Answers  


What is public, protected, private?

6 Answers   IBS, Satyam,


What is the full form of oops?

0 Answers  


What is Object and Class? What are the differences between them?

5 Answers  


Categories