what is the difference between ERROR and EXCEPTION?
Answers were Sorted based on User's Feedback
Answer / aayansh
Exceptions are mostly software or hardware problems where as errors are logical or syntactic.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amar gawade
errors are unresolved syntax or mistakes where exceptions are runtime errors.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / suresh
Error is a mistake and it occurs are Compile time...
Exception says what is the mistake...it occurs at run time..
| Is This Answer Correct ? | 3 Yes | 5 No |
Answer / d.raji
Error: we can find it(Which error occured) when compliation.
Exception: we can't find it(Which error occured)when
compliation and also in running time
| Is This Answer Correct ? | 2 Yes | 5 No |
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),
Can we have a private virtual method ?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
when to use 'mutable' keyword and when to use 'const cast' in c++
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
what is the usage of clas templates
Can abstract class have normal methods?
When will a constructor executed?
How to calculate the age from the date of birth by using the program?
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
How to hide the base class functionality in Inheritance?
How to Increment the value of the empid E001 for each and every employee by using the programe?