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
Is a case study a method or methodology?
Can a java program have 2 main methods?
Can we call a non-static method from inside a static method?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is a literal coding?
What is time complexity java?
What does string [] args mean?
What is a method signature java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
How is garbage collection controlled?
What is a package in java? List down various advantages of packages.
What is an class?
What is a boolean in java?
What does string intern() method do?
How do you identify if jvm is 32-bit or 64-bit from java program?