Inheritance Three scenarios how to model Square and Rectangle. Two problematic, that breaks Liskovs Priniciple (one of the SOLID principles).