Volvo Group Interview Question

A problem statement was given and asked to design a solution using OOPS concepts