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
Why chararray() is preferred over string to store the password?
What is the purpose of static keyword in java?
What do you mean by Hash Map and Hash Table?
which pattern is default in scanner package?
What is finalize method?
What is an interface in java? Explain
What are the drawbacks of reflection?
What is the use of static methods?
What is literal example?
What is a local, member and a class variable?
What are heterogeneous objects?
Describe what happens when an object is created in java ?
Is there any sort function in java?
Difference between stack and queue?
What is a copy constructor in java?