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 happens to a static var that is defined within a method of a class?
what is singleton in java?
What does math floor () do?
how do I create a runnable with inheritance? : Java thread
What are the properties of thread?
What is the this keyword?
What does void * mean?
What is Hierarchy of exception?
I want to print “hello” even before main is executed. How will you acheive that?
What is string array?
What is the relationship between class and object?
What means public static?
What is an 8 bit word?
What are the main uses of this keyword?
Print Vertical traversal of a Binary Tree.