Tech Mahindra Interview Question

oops concepts and front end