single inheritance

2 topics · 2 sources

Technology› Programming

Java

In Java, a class may not extend more than one class. This means that Java has a single inheritance model for class inheritance. See multiple inheritance for the alternative.

Technology› Programming

Perl

The features you got from your mother, if she told you that you don't have a father. (See also "inheritance" and "multiple inheritance".) In computer languages, the notion that classes reproduce asexually so that a given class can only have one direct ancestor or "base class". Perl supplies no such restriction, though you may certainly program Perl that way if you like.

Cite this definition

APA
MLA
Chicago