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
How many bytes is double?
What is the purpose of using javap?
Which is faster set or list in java?
What is the purpose of checked and unchecked exceptions in JAVA?
What is the largest data type in java?
What are three types of loops in java?
What is a website container?
Why super is first line in java?
What are peerless components in java programming?
How does java enable high performance?
Differentiate between == and equals().
What are the types of strings?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is the difference between Error, defect,fault, failure and mistake?
How is java created?