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 can we run a java program without making any object?
What is the static import?
What is difference between throw and throws ?
How many types of voids are there?
How to read and write image from a file ?
What is the locale class in java programming?
Explain the difference between string, stringbuffer and stringbuilder in java?
What are the core java topics?
Why should I use abstract class?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What's the base class in java from which all classes are derived?
What is a method in coding?
Can we change the scope of the overridden method in the subclass?
What is purpose of applet programming?
Can we synchronize static methods in java?