Code a Money class with the ability to add/subtract to Money values, and multiply/divide a Money value by an integer (methods in Java, operators in C++). The Java version should also provide a toString method, while the C++ version should provide a << function.