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
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
Explain reverse a linked list iterative solution in java?
What are different type of exceptions in java?
Is java same as core java?
What does a method signature consist of?
What is thread pool in java with example?
What is numeric data type?
What is lazy programming?
What are abstract classes and anonymous classes?
Can inner class be public in java?
Is empty string in java?
What is difference between string and stringbuffer?
Does constructor return any value?
What is string variable?
How to retrieve data from database in java using arraylist?