![]() Related Questions Latest Answer : Finally method is executed whether the exception is raised or not and normally used to close the resource that are opened in the before. ... Latest Answer : Yes ... Latest Answer : Checked exceptions are those exceptions which the programmer should handle otherwise the compiler will give an error.In case of Unchecked exceptions, even though if we don't handle compiler wont give any error. ... Latest Answer : Checked Exceptions are not because of program errors, may be some out side sources,like file open exception.(may likely to be occured) Unchecked exceptions are because of program errors like array index out of ... Read Answers (5) | Asked by : sarma A) SerializableB) ClonebleC) RemoteD) UserDefined Latest Answer : Tagged interface is that without any methodEx: java.io.Serializablejava.util.EventListenerAns: A> Serializable ... A sub class probabaly has more properties then that of super class , then why I am able to catch all A sub class probabaly has more properties then that of super class , then why I am able to catch all exceptions by making the object of Exception class insted of its sub classes (while handling any exception by try,catsh,finally statement)? Latest Answer : Yes, Basically the "Checked exceptions" are juz like IOExceptions(Eg:File index not found) whereas unchecked exceptions are like those which will occur in the run time. ... 1.throw Vs. throws clause?2.Use of EJBs?3.Design Patterns avail in Java?4.Different ways of achieving Exceptions in Java?5.Can we handle Run Time Exceptions?6.How to overcome OutOfMemoryError?7.CompileTime Latest Answer : 4.Whats the use of Marker Interfaces in java eventhough there r no methods in the Marker interfaces?Answer : The marker methods specifies the functionality of a class depending upon the need. For example if a method needs to be serialised ... ServletException,IOException. Java has Userdefined Unchecked Exceptions or not? If answer is YES, How to create Userdefined Unchecked Exceptions? Latest Answer : i think there is no possibility of creating user defined unchecked exceptions. ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||