Deloitte Interview Question

They asked me about OOPS concept question