Abstract class

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
Any class that has abstract method declarations or any class inheriting from an abstract class without supplying an implementation for every abstract method in the super-class.
 
Any class that has abstract method declarations or any class inheriting from an abstract class without supplying an implementation for every abstract method in the super-class.
 +
 +
Objects of an abstract class cannot be instantiated. Abstract classes are commonly used in inheritance hierarchies.
 +
 +
== See Also ==
 +
* [[Avoid concrete base classes]]
 +
* [[The top of the class hierarchy should be abstract]]
  
 
{{Nomenclature}}
 
{{Nomenclature}}
  
 
[[Category: Nomenclature]]
 
[[Category: Nomenclature]]

Revision as of 23:27, 16 September 2009

Any class that has abstract method declarations or any class inheriting from an abstract class without supplying an implementation for every abstract method in the super-class.

Objects of an abstract class cannot be instantiated. Abstract classes are commonly used in inheritance hierarchies.

See Also


Personal tools