What is an abstract class

Showing Answers 1 - 32 of 32 Answers

rrl

  • Oct 19th, 2005
 

Abstract class ia a base class that provides some invariant functionality but leaves implementation of other members to inheriting classes. You can accomplish this through the use of abstract classes, which are classes that must be inherited.

Abstract classes are similar to interfaces, but share many features with classes. An abstract class cannot be instantiated on its own; it must be inherited first. Abstract classes can provide all, some, or none of the actual implementation of a class. Like interfaces, they can specify members that must be implemented in inheriting

  Was this answer useful?  Yes

Nitin Gupta

  • Jan 3rd, 2006
 

Abstract classes represent an abstract concept, hence cannot be instantiated.

  Was this answer useful?  Yes

sarika

  • Jan 30th, 2006
 

an abstract class is the one which has got no body

  Was this answer useful?  Yes

Yashwant Pinge

  • Apr 27th, 2006
 

The abstract class is one that used for only for inheritance i.e can not create the object of base class.The abstract class is one that contains atleat one pure virtual function.

  Was this answer useful?  Yes

chandra

  • Jun 22nd, 2006
 

Hi,

 Abstract class is a Generlised superclass extended by subclasses and has atleast one abstract behaviour and may contain behaviours with body.

  Was this answer useful?  Yes

niranjan

  • Jan 10th, 2007
 

An abstract is one which is used in future

we can't create an object for it 

sajjad

  • Oct 25th, 2007
 

An abstract class cannot be used on its own but must be first inherited in the derived class.

  Was this answer useful?  Yes

naveen christopher

  • Sep 12th, 2011
 

Abstract class is a most generalized class or template for the other class(use to specify some comm specification )

  Was this answer useful?  Yes

rashmi

  • Sep 13th, 2011
 

Abstract class is one which have member function with out body and can't inherit to base class. we can inherit subclass.

rahul

  • Feb 8th, 2012
 

Abstract class is a class with abstract keyword and that have abstract and non abstract method, it is different from interface in the sense that interface have only abstract methods.

  Was this answer useful?  Yes

Poornima

  • Feb 16th, 2012
 

Abstract class is Class and cant create a object for this class. We can declare a method as well as implement the method in abstract method.

  Was this answer useful?  Yes

vijin

  • Apr 9th, 2012
 

abstract class is a base class. It is only declare a method and implement this method in a derived class using the override method.
it is declare a abstract keyword, and no need for create object for abstract class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions