Coviam interview question

Oops Concepts