Last Updated:2025/12/05

When designing object-oriented APIs, you should avoid the circle-ellipse problem because it forces subclasses to implement mutations that can violate stronger invariants.

See correct answer

When designing object-oriented APIs, you should avoid the circle-ellipse problem because it forces subclasses to implement mutations that can violate stronger invariants.

音声機能が動作しない場合はこちらをご確認ください
Edit Histories(0)
Source Sentence

オブジェクト指向のAPIを設計する際には、円を楕円のサブタイプとしてモデル化するという問題を避けるべきです。なぜならそれがサブクラスに強い不変条件を破るような変更を実装させてしまうからです。

Sentence quizzes to help you learn to read

Edit Histories(0)

Login / Sign up

 

Download the app!
DiQt

DiQt

Free

★★★★★★★★★★