Liskov Substitution Principle

Said Olano - Nov 4 '23 - - Dev Community

Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .