SAP interview question

difference between java and c/c++