Last Updated :2025/11/28

Liskov substitution principle

Proper noun
Japanese Meaning
オブジェクト指向プログラミングにおける原則のひとつで、サブタイプはその基本となる型と置き換えてもプログラムの正しさや実行されるタスクなどの望ましい特性に影響を与えてはならないとする考え方。
What is this buttons?

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

Quizzes for review

(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.

音声機能が動作しない場合はこちらをご確認ください
See correct answer

Liskov substitution principle

When designing class hierarchies, adhering to the Liskov substitution principle prevents unexpected behavior when a subclass replaces its superclass in client code.

See correct answer

When designing class hierarchies, adhering to the Liskov substitution principle prevents unexpected behavior when a subclass replaces its superclass in client code.

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

English - English

Word Edit Setting
  • Users who have edit permission for words - All Users
  • Screen new word creation
  • Screen word edits
  • Screen word deletion
  • Screen the creation of new headword that may be duplicates
  • Screen changing entry name
  • Users authorized to vote on judging - Editor
  • Number of votes required for decision - 1
Sentence Edit Setting
  • Users who have edit permission for sentences - All Users
  • Screen sentence deletion
  • Users authorized to vote on judging - Editor
  • Number of votes required for decision - 1
Quiz Edit Setting
  • Users who have edit permission for quizzes - All Users
  • Users authorized to vote on judging - Editor
  • Number of votes required for decision - 1
Editing Guideline

Login / Sign up

 

Download the app!
DiQt

DiQt

Free

★★★★★★★★★★