GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 15 of 161    Print  
What is an abstract class?

  
Total Answers and Comments: 7 Last Update: April 28, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 18, 2005 06:39:43   #1  
Sreetak        

RE: What is an abstract class?
Q: What is an Abstract Class?
Ans: An abstract class is a class which contain all abstract methods. A abstact method is a method withoout body.

 
Is this answer useful? Yes | No
October 07, 2005 01:07:36   #2  
Madhuri.Ch        

RE: What is an abstract class?
An abstract class is one in which methods are defined but an object of this class cannot be instanstiated.this type of a class can only be derived but cannot be instantiated.
 
Is this answer useful? Yes | No
October 06, 2006 01:15:57   #3  
syam sundar        

RE: What is an abstract class?
Its not necessary that all the methods should be abstract.At least one method should be abstract i.e. without any body.The main idea is to generalize common functionalities so as to use for inheritance.
 
Is this answer useful? Yes | No
October 06, 2006 01:22:08   #4  
syam sundar        

RE: What is an abstract class?
It is not like all methods are abstract methods in Abstract Class. At least one method should be abstract i.e. without implementation and remaining methods are also concrete.
 
Is this answer useful? Yes | No
April 16, 2007 03:03:57   #5  
Mukesh        

RE: What is an abstract class?
An abstract class is a class which can't be instantiated and it may contain at least 1 abstract method (a method without any body) but it is not necessary that it should have all abstract methods.
 
Is this answer useful? Yes | No
May 24, 2007 02:55:39   #6  
sirisha        

RE: What is an abstract class?

Abstract class is a class for which we can not create an instance but can be inherited. Abstract class contains both abstract methods and general methods. The methods which we declared as abstract doesn't contain any definition. We have to override the abstract methods when we are using them in other classes.

 
Is this answer useful? Yes | No
April 28, 2008 05:05:14   #7  
prashanthdd Member Since: April 2008   Contribution: 11    

RE: What is an abstract class?
An abstract class is a class that cannot be instantiated and having atleast one abstract method(having no body).Only we can derive a child class from the abstract class
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape