HomeServicesBlogDictionariesContactSpanish Course
← Back to search

Meaning of circle-ellipse problem | Babel Free

Noun CEFR B2

Definitions

The problematic situation where a base class contains methods which mutate an object in a manner which may invalidate a (stronger) invariant found in a derived class, violating the Liskov substitution principle. For example, if a circle is modelled as a subtype of an ellipse, and the ellipse has a method that stretches it on one axis, the circle must also implement that method despite it making no sense for a circle.

CEFR level

B2
Upper Intermediate
This word is part of the CEFR B2 vocabulary — upper intermediate level.

See also

Learn this word in context

See circle-ellipse problem used in real conversations inside our free language course.

Start Free Course