Decos interview question

Project structure, OOPS concepts and a logical question