Unistal Systems interview question

concept of oops