CCTech interview question

A complex java program