What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Inheritance vs Interface - What's the difference?

inheritance | interface |

As a noun inheritance

is the passing of title to an estate upon death.

inheritance

Alternative forms

* enheritance (obsolete) * enheritaunce (obsolete) * inheritaunce (obsolete)

Noun

  • The passing of title to an estate upon death.
  • (lb) That which a person is entitled to inherit, by law or testament.
  • (lb) The biological attributes passed hereditarily from ancestors to their offspring.
  • In object-oriented programming, the mechanism whereby parts of a superclass are available to instances of its subclass.
  • References

    * (EtymOnLine)

    interface

    Noun

    (en noun)
  • The point of interconnection between entities.
  • Public relations firms often serve as the interface between a company and the press.
  • (chemistry, physics) A thin layer or boundary between different substances or two phases of a single substance.
  • If water and oil are mixed together, they tend to separate, and at equilibrium they are in different strata with an oil-water interface in between.
    The surface of a lake is a water-air interface .
  • (computing) The point of interconnection between systems or subsystems.
  • The data is sent over the air interface to the remote system.
  • (computing) The connection between a user and a machine.
  • The options are selected via the user interface .
  • (computing, object-oriented) The connection between parts of software.
  • This interface is implemented by several Java classes.
  • (computing, object-oriented) In object-oriented programming, a piece of code defining a set of operations that other code must implement.
  • The Audio and Video classes both implement the IPlayable interface .

    Derived terms

    * abstract interface * generic interface * marker interface * network interface * user interface

    Verb

    (interfac)
  • to construct an interface for, to connect through an interface
  • to be an interface, to be into an interface