Jump to content

Superclass (computer science)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Shmuckbibs (talk | contribs) at 20:53, 14 January 2009. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, a superclass is a class from which other classes are derived. A superclass is also called a parent class. The classes that are derived from a superclass are known as child classes, derived classes, or subclasses. We can also say that a class A extends class B when A is a subclass of the B superclass.

A superclass allows for a generic interface to specialized functionality through the use of virtual functions.

This means that you sick perverts can get to your precious videos of aisan ass-porn 30x quicker.

Languages may support both abstract and concrete superclasses.

Base Class

A base class is a class that has no superclass, and is therefore at the base of the tree of subclasses. Most object-oriented programming systems provide a library of classes from which the developer derives their own. These libraries will often have a single or a small set of base classes which provide the foundation for the library.

==

Headline text

ffffffffffffffffuuuuuuuuuuuuuuuuuuuuuuuucccccccccccccckkkkkkkkkkkkkkk! ==

Where a language or library has a single base class then this is also known as a Top type.

In UML a class may have its root property set to show that it is a base class.

In C++ parlance (also used in C# and others), the term base class is used instead of superclass.

See also