最終更新日:2025/11/28

(object-oriented programming) A principle stating that any type having a subtype should be replaceable by its subtype without altering any of the desirable properties (such as correctness, task performed, etc.) of the program.

音声機能が動作しない場合はこちらをご確認ください
正解を見る

Liskov substitution principle

編集履歴(0)
元となった辞書の項目

Liskov substitution principle

固有名詞
日本語の意味
オブジェクト指向プログラミングにおける原則のひとつで、サブタイプはその基本となる型と置き換えてもプログラムの正しさや実行されるタスクなどの望ましい特性に影響を与えてはならないとする考え方。
このボタンはなに?

クラス階層を設計する際、サブタイプがスーパタイプの役割を損なうことなく置換可能であるべきという原則(リスコフの置換原則)を守れば、クライアントコードでサブクラスがスーパークラスの代わりに使われたときの予期しない動作を防げます。

Dictionary quizzes to help you remember vocabulary

編集履歴(0)

ログイン / 新規登録

 

アプリをダウンロード!
DiQt

DiQt(ディクト)

無料

★★★★★★★★★★