Xoriant Interview Question

OOPs concept with real world examples