Altimetrik interview question

Basic oops concepts and some coding questions