4 ms·
C# is a primary interface to the Windows platform. Java is a primary interface to the Android platform (2008). When it was originally made decades ago (1996),
by user5994461 6y ago
C# is a primary interface to the Windows platform.
Java is a primary interface to the Android platform (2008). When it was originally made decades ago (1996), it was supposed to be the first language for cross platform development (compile once run anywhere), it may not be one platform per se but it is equivalent in a way.
- chubot 6y agoYeah it's true that C# gives you more access to Windows than any other language, e.g. for GUIs and such. Java became popular without Android, but Sun was very much a platform company (Solaris -- they just didn't succeed in the long term.) So basically the point is that the first reason is a special case of the second... Marketing alone does a little bit for a language, but having the platform is more important. People choose platforms and not languages. Big companies are the ones that own platforms (Linux being an exception).
- user5994461 6y agoOh right almost forgot about Solaris. ^^ I don't recall Solaris ever being any significant, so must have been a good argument that Java could run on the many Unix/Linux variants besides Solaris.