ウィキペディア英語版

出典:Wikipedia

Trait (computer programming)

出典:『Wikipedia』 (2011/07/01 13:29 UTC 版)

英語による解説

ウィキペディア英語版からの引用
引用

In computer programming, a trait is a collection of methods, used as a "simple conceptual model for structuring object oriented programs". Traits are similar to mixins, but whereas mixins can be composed only using the inheritance operation, traits offer a much wider selection of operations, including symmetric sum, method exclusion, and aliasing. A Trait differs from an abstract type in that it provides implementations of its methods, not just type signatures.

調べた例文を記録して、効率よく覚えましょう
Weblio会員無料で登録できます
履歴機能 過去に調べた単語を確認できる
語彙力診断 診断回数が4回に増加
マイ単語帳 便利な学習機能付き
マイ例文帳 文章で意味を理解できる

Trait (computer programming)のページの著作権