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
How to convert string to byte array and vice versa?
What is the replace tool?
What is the byte range?
Is arraylist dynamic in java?
What do you mean by platform independence of Java?
What is the basic difference between string and stringbuffer object?
What are internal variables?
What is default constructors?
How do generics work in java?
Is zero a positive integer?
What is the difference between instanceof and isinstance?
Why bytecode is called bytecode?
How to access arraylist elements in java?
What are "methods" and "fields"?
What is the difference between variable declaration and variable initialization?