![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : 1.Checked Exceptions Environmental error that cannot necessarily be detected by testing; e.g. disk full, broken socket, database unavailable, etc. 2.Runtime Exceptions Programming errors that should be detected in testing: index out ... We know that Object class is super class of every class & a class extends only one class. so how is it possible to a class to extend other than Object class? Because java supports multilevel inheritance. Latest Answer : Exception created by our own is called User define Exception ... Read Answers (7) | Asked by : chandu Latest Answer : Hey Guys,Object class implements a set of methods and variables which are common to all the objects being created in the application. This is the main reason why we have Object class as a base class for all the other classes.Some of the methods are:hashCode() ... Read Answers (4) | Asked by : kalyan In overriding, the super class method throws I/O exception & in sub class that method throws arithmetic exception. what happens? Which is superclass of Exception?many people think that object,no there is particular class which is Which is superclass of Exception?many people think that object,no there is particular class which is superclass of all exception it starts with letter B,plz tell me Read Answers (6) | Asked by : manohar 1. Can You catch the Error? 2. Difference between compiletime exception and runtime exception?3. How 1. Can You catch the Error? 2. Difference between compiletime exception and runtime exception?3. How you throw user defined exception?4. How you handle throwable while using exceptions ?5. What are the methods available in Object ?6. Is there any methods available in serialization ?7. How you seralize an Object ?8.How you get the serialized object ? 9. Any methods available in deseralization ? I have code like this class parent { void print()throws IOException{} }class sub{ void print() throws Exception{}}It will not allow like this super class method should throw an exception of sub class Exception which is in sub class method? Read Answers (5) | Asked by : naresh What is checked and unchecked exception? How can we know that any exception is checked or unchecked? What is checked and unchecked exception? How can we know that any exception is checked or unchecked? Latest Answer : " Throwable " is a class(it's default super class is Object) in java API. The Throwable class is the superclass of all errors and exceptions in the Java language. Only objects that are instances of this class (or one of its subclasses) are thrown by ... Read Answers (1) | Asked by : veera
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||