Please Enter Your Search Term Below:
 Websearch   Directory   Dictionary   FactBook 
  Wikipedia: Subtype and derived type

Wikipedia: Subtype and derived type
Subtype and derived type
From Wikipedia, the free encyclopedia.

In computer science, a subtype states that if given type A is compatible with type B, then A is a subtype of B while not always vice versa. The most important distinction from mere datatype is one datatype can be more than one subtype. The definition is known as Liskov substitution principle.

In object-oriented programming, this means objects of the same subtype respond to the same messages.

A derived type is very similar to subtypes.


  

From Wikipedia, the free encyclopedia. 
Modified by Geona