Techfriar interview question

Mainly focused on oops concepts