ActivIdentity Interview Question

How do you code Java to remove C++ issue