Tag - differences between C++ and Java