Error!
Success!

Is a Square a Rectangle? (Liskov Substitution Principle)

0
kicks

Is a Square a Rectangle? (Liskov Substitution Principle)  (Unpublished)

In Geometry, a square is a special case of rectangle where the height and width of the shape are equal. When modelling squares and rectangles in object-oriented programming languages, defining this relationship can lead to unexpected bugs.


Kicked By:
Drop Kicked By: