contains Java and C++ code