What is the difference between error and exception and
explain in simple words not whatever is given in the book.
Answer Posted / srinu
Error:-
Errors are occuried at compile time.These errors are araise
pure understanding the language. i.e small syantax
errors.its give an error at complite time.
Exception:-
It is unwanted ,unexpected event which distrubs the normal
folow of the program.its araise an at Runtime.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Is 0 a prime number?
What does this mean java?
What is hash table in java?
When a byte datatype is used?
What is flag in java?
What is a memory leak in java?
What is the purpose of extern variable?
Can we use String with switch case?
What is classpath?
What is qualitative variable?
What is the use of static methods?
Can we override constructors?
Is .net better than java?
Why is logger singleton?
What is the difference between an inner class and a sub-class?