Half C/C++ and half JAVA