Pergunta de entrevista da empresa Ampere Computing

Why split code into object classes instead of just writing it in a structured way?