Raytheon interview question

difference between java and c++