C++, Java, Python code examples