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
why are there separate wait and sleep methods? : Java thread
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
Is singleton class immutable?
What is assembly used for?
Why are pointers not secure?
Explain about abstract classes in java?
Explain serialization and deserialization in java?
Why we do exception handling in java and how many types of exceptions are there?
What is super in java?
Java.util.regex consists of which classes?
What is jvm? Why is java called the platform independent programming language?
What is a method vs function?
What does bitwise or mean?
What is an abstract method in java programming?
Why string is immutable or final in java