An Entity of Type: Food, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

The singly rooted hierarchy, in object-oriented programming, is a characteristic of most (but not all) OOP-based programming languages. In most such languages, in fact, all classes inherit directly or indirectly from a single root, usually with a name similar to Object; all classes then form a common inheritance hierarchy. This idea was introduced first by Smalltalk, and was since used in most other object-oriented languages (notably Java and C#).

Property Value
dbo:abstract
  • The singly rooted hierarchy, in object-oriented programming, is a characteristic of most (but not all) OOP-based programming languages. In most such languages, in fact, all classes inherit directly or indirectly from a single root, usually with a name similar to Object; all classes then form a common inheritance hierarchy. This idea was introduced first by Smalltalk, and was since used in most other object-oriented languages (notably Java and C#). A notable exception is C++, where (mainly for compatibility with C and efficiency) there is no single object hierarchy. This feature is especially useful for container libraries - they only need to allow putting an Object in a container to allow objects of any class to be put in the container. Containers in C++ have been implemented with multiple inheritance, and with help of template-based generic programming by Bjarne Stroustrup. Other object-oriented languages without a singly rooted hierarchy include Objective-C and PHP. (en)
dbo:wikiPageID
  • 13507170 (xsd:integer)
dbo:wikiPageLength
  • 1782 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 873753044 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • The singly rooted hierarchy, in object-oriented programming, is a characteristic of most (but not all) OOP-based programming languages. In most such languages, in fact, all classes inherit directly or indirectly from a single root, usually with a name similar to Object; all classes then form a common inheritance hierarchy. This idea was introduced first by Smalltalk, and was since used in most other object-oriented languages (notably Java and C#). (en)
rdfs:label
  • Singly rooted hierarchy (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License