結果 : semantic and syntax difference between java and c++