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
Can we initialize the final blank variable?
What is an example of declaration?
Are constructors methods?
What is the difference between member variables initialization and assignment in a constructor?
What are java packages?
Explain about the performance aspects of core java?
Name few "optional" classes introduced with java 8 ?
What is ellipsis in java?
Mention the default values of all the elements of an array defined as an instance variable.
List some features of the abstract class.
Explain differences between checked and unchecked exceptions in java?
What are invisible components?.
What is the relationship between clipping and repainting under awt?
What is covariant return type?
Give any two differences between C++ and java.