What are abstract classes, abstract methods?

Simply speaking a class or a method qualified with "abstract" keyword is an abstract class or abstract method. You create an abstract class when you want to manipulate a set of classes through a common interface. All derived-class methods that match the signature of the base-class declaration will be called using the dynamic binding mechanism. An abstract method is an incomplete method. It has only a declaration and no method body. Here is the syntax for an abstract method declaration: abstract void f();

Showing Answers 1 - 2 of 2 Answers

sabir

  • Jan 6th, 2006
 

class with atleat one absract method is called as absract classsysntax is must inherit class ''''''code end class and the method which is abract method that has to defined in the deriedd class absract method is one where there is only the name is defined and the defination

  Was this answer useful?  Yes

Mohan

  • Feb 8th, 2006
 

Abstract class is which base class cannot create object. eg. Inheritance

  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