What is an abstract class?

Showing Answers 1 - 13 of 13 Answers

Sreetak

  • Aug 18th, 2005
 

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.

  Was this answer useful?  Yes

Madhuri.Ch

  • Oct 7th, 2005
 

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.

  Was this answer useful?  Yes

syam sundar

  • Oct 6th, 2006
 

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.

  Was this answer useful?  Yes

syam sundar

  • Oct 6th, 2006
 

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.

  Was this answer useful?  Yes

Mukesh

  • Apr 16th, 2007
 

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.

  Was this answer useful?  Yes

sirisha

  • May 24th, 2007
 


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.

  Was this answer useful?  Yes

prashanthdd

  • Apr 28th, 2008
 

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

  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