Rakuten Kobo interview question

What is wrong with a piece of code. 2 shape classes that have no interface.

Interview Answer

Anonymous

21 May 2020

Code should be open for extension but closed for modification.