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
What are the legal parameters?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What is meant by class loader? How many types are there?
What are singleton services?
What is a subsequence of a string?
What is class variable java?
What is the use of arraylist class in java?
Can we assign null to double in java?
If goto and const is reserve words than why it is not work in java?
How do you write a conditional statement?
What is finally block?
What are the steps that are followed when two computers connect through tcp?
Explain the importance of finalize() method.
What is the difference between notify and notifyall method?
Why is java architectural neutral?