Rakuten Symphony interview question

When to use Java, C++ and Python