Unisys interview question

Programming Java, C++