Java for C++ programmers