Just some nitpicking.. I would not at all recommend Java for webdevelopment in 2017, honestly I would never have recommended it, but at least now the world has caught up with me - I am referring to browsers discontinuing support for Java.
Regaring game-development: A game can be SO MUCH different, it does depend on what kind of game you are aiming for. Will it be a resource hungry game? How complex is the game, etc etc.. I would a assume a lot of languages could be used - depending on what kind of game you are going for, but C++ is rarely a bad way to go.
I'd like to mention that
Eve Online is written in Python (stackless python).
--
P.S. I have a Love-hate kinda relationship with python.