Clarification in Java vs C++ notes.