翻訳と辞書 |
inheritance In object-oriented programming, the ability to derive new classes from existing classes. A derived class (or "subclass") inherits the instance variables and methods of the "base class" (or "superclass"), and may add new instance variables and methods. New methods may be defined with the same names as those in the base class, in which case they override the original one. For example, bytes might belong to the class of integers for which an add method might be defined. The byte class would inherit the add method from the integer class. See also Liskov substitution principle, multiple inheritance. (2000-10-10)
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|