In Time Tec Interview Question

OOPS concepts with real time example