r/learnjava • u/kres0345 • Jun 21 '21
Why learn Java when there's C#?
I am genuinely curious, as it seems C# has superseded Java in many regards. The only reason I can think of using Java is backward compatibility.
EDIT: To clarify, the main selling point of Java was cross-platform, but nowadays most frameworks and toolsets are to some degree cross-platform, including .NET Core, which is the new main framework of C#.
0
Upvotes
6
u/elky87 Jun 21 '21
The post you linked is really old. There they talk about Java 7 but the next release is already Java 17! So 10 Version ahead.
I guess the biggest selling point is cross platform independence, and the huge huge huge ecosystem. There is a library for everything
Edit: this comment should have been in response to OPs comment with the stackoverflow question