FACTOID # 118: Australians lead the world in hours worked and membership in many voluntary organizations. How do they find the energy?
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Superclass (computer science)

In computer science, a superclass is a class from which other classes are derived. A superclass is also called a parent class or base 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 B. Computer science is the study of the theoretical foundations of information and computation and their implementation and application in computer systems. ... In object-oriented programming, classes are used to group related variables and functions. ... In object-oriented programming, a subclass is a class that inherits some properties from its superclass. ...


A superclass allows for a generic interface to specialized functionality through the use of virtual functions. This article or section should be merged with Virtual method In many object oriented programming languages such as C++, C#, VB.NET, a virtual function is a function that can be overridden with specialized implementations in subclasses. ...


The superclass mechanism is extensively used in object oriented programming due to the reusability that can be achieved: common features are incapsulated in modular objects. Object-oriented programming (OOP) is a computer programming paradigm in which a software system is modeled as a set of objects that interact with each other. ... In computer science and software engineering, reusability is the likelihood a segment of structured code can be used again to add new functionalities with slight or no modification. ...


in UML, class extensions (subclassing) is represented as follows: Media:superclass.png In software engineering, Unified Modeling Language (UML) is a non-proprietary, third generation modeling and specification language. ...


  Results from FactBites:
 
Subclass (computer science) - Wikipedia, the free encyclopedia (336 words)
In this way, a subclass is a more specific version of its superclass; that is, the facts about the cat state what is generally true for all cats, even if some kinds of cats happen to have no tail.
Subclasses and superclasses are often referred to as derived and base classes, respectively, terms coined by C++ creator Bjarne Stroustrup, who found these terms more intuitive than the traditional nomenclature.
For a more in-depth explanation of the concept of classes in object-oriented programming, see class (computer science), in particular the section about subclasses and superclasses on that page.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.