Infogain Interview Question

Mostly based on OOPS concepts