different between exception and error? explaim check and
uncheck exception
Answer Posted / jreader
Exception and Error both classes extends Throwable class.
checked execption is an exception which need to be mentioned
in Throws list so that compiler can understand what type of
exception perticuler method can throw (forexample-
SQLException) whereas unchecked exception compiler will
handle and it comes at run time (for
example-IndexOutofBoundException)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain creating threads by implementing runnable class?
How will you reverse a link list without using recursion?
What is an anonymous class in java?
Is 0 an even number?
What is meant by class and object in java?
What is meant by final class?
What is the null?
What is an infinite loop?
What are the files generated after using IDL to java compiler?
What is the use of static methods?
What is string manipulation?
What is method overriding in java ?
What is the difference between variable declaration and variable initialization?
What is operator overloading. Is it is supported in java?
What are the uses of java?