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 sort array of 0 and 1 in java?
What is the difference between choice and list?
Can a java program have 2 main methods?
What are operators and its types?
why Java does not support multiple inheritances?
What is meant by nested loop?
What things should be kept in mind while creating your own exceptions in java?
What is multithreading in java?
What is void keyword?
How to perform selection sort in java?
What is are packages?
Why is java not 100% pure oops?
What are java packages?
What is procedure overloading?
When parseint method can be used?