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
What are static blocks and static initalizers in java ?
Name four container classes.
what is a working thread? : Java thread
What is a generic data type?
What is dynamic binding(late binding)?
What is the difference between a window and a frame in java programming?
When should you use arraylist and when should you use linkedlist?
What is an example of procedure?
What causes memory leak in java?
What is a method header?
Why do I need to declare the type of a variable in java?
I want to persist data of objects for later use. What’s the best approach to do so?
how to write a program for sending mails between client and server
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is a war file?