Answer Posted / manikandan
Exception come is several flavours such as
RuntimeExceptions, Errors, Checked and Unchecked. The 3
major types of exception are ,
(1) RuntimeException : Error that can occur in almost any
code (Eg)NullPointerException
(2) Error : Serious error you really should not try to
catch, e.g. OutOfMemoryError.
(3) Checked Exception : Likely exceptional condition that
can only occur in specific places in the code e.g.
EOFException.
| Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
How to calculate the length of a singly linked list in java?
How do you define a variable?
What are constants?
What is the use of default method in interface in java?
Can we convert stringbuilder to string in java?
Why are data types important?
What is join () in java?
What is the importance of static variable?
What is regex in java?
Can we restart a dead thread in java?
How do you allocate memory to object?
Can a static member function access member variable of an object?
can any body body expalin best definitions & best real time exaples for opps concepts.
What are the differences between heap and stack memory?
Why do we use predicate in java?