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
What is a conditional statement explain with example?
What do you mean by data type?
write a program that list all permutations of ABCDEF in which A appears before B?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Can we use catch statement for checked exceptions?
What is use of static method?
Why super is first line in java?
What is ternary operator in java?
Why is string buffer better than string ?
How to use Media tracker Class.
Can It is possible to synchronize the constructor of a Java Class?
What are the different types of java?
What is the purpose of java?
What happens if we override private method?
Java Compiler is stored in JDK, JRE or JVM?