Just want to ask a question which I have for a long period of time. This question is about games(browser games).
World of Warcraft or Hangman?
I know a lot of nice browser games are made in unity, and C# is quite similar to Java in many regards.
I guess it depends what kind of browser game you’re thinking of.
If you need a back-end, whether to keep a leaderboard or, in a multi-player game, to keep track of player positions and interactions, you can write the server code in anything you like.
In C# you have the Unity engine that is very good for beginners, in Java you have LibGDX