HARMAN Interview Question

They asked me OOPs concept