Softsol Interview Question

Asked real time scenarios. Questions on OOPS concepts