EPAM Systems interview question

Producing Java codes from premade buliding blocks.