GeekInterview.com
   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

GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 233 of 492    Print  
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

  
Total Answers and Comments: 6 Last Update: May 19, 2008     Asked by: manohar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 23, 2006 06:23:13   #1  
FatiRoche        

RE: which is superclass of Exception?many people think...

The super class for exception is java.lang.throwable

divided into two types:

1.java.lang.exception

2.java.lang.error


 
Is this answer useful? Yes | No
May 24, 2006 00:36:07   #2  
shivalak Member Since: May 2006   Contribution: 9    

RE: which is superclass of Exception?many people think...
Hi,
This is the basic concept of Java Exceptions.
The super class for all the errors and exceptions is java.lang.Throwable.

Click here for reference

 
Is this answer useful? Yes | No
August 12, 2007 05:39:45   #3  
sujatham Member Since: January 2006   Contribution: 142    

RE: which is superclass of Exception?many people think...
Throwable class.
 
Is this answer useful? Yes | No
September 19, 2007 08:00:02   #4  
Amit Patil        

RE: which is superclass of Exception?many people think...
java.lang.Throwable is superclass for Exception.No class name starting with B.
 
Is this answer useful? Yes | No
February 14, 2008 02:46:17   #5  
sampra Member Since: February 2008   Contribution: 279    

RE: 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
java.lang.throwable i m nt sure  

 
Is this answer useful? Yes | No
May 19, 2008 09:14:54   #6  
nv_krishna Member Since: May 2008   Contribution: 6    

RE: 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
The super class of all Exceptions in java is Throwable.
It has two sub-classes :: Exception and Error

Exception forms the base class for Exceptions like ArrayIndexOutofBounds etc..
Error is another sub-class, these are catastrophic in nature and not caught by normal java program..

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape