 Circle–ellipse problem

The circle–ellipse problem in software development (sometimes called the square–rectangle problem) illustrates several pitfalls which can arise when using subtype polymorphism in object modelling.The issues are most commonly encountered when using object-oriented programming (OOP).