+ 3

What is different between C# & Java ???

2nd Feb 2017, 2:10 PM
Mohamed Mostafa Sadiq
Mohamed Mostafa Sadiq - avatar
2 odpowiedzi
0
Both have a lot of similarities. Both languages are interpreted in a byte code (Java: class data, C#: IL data) which is JIT-compiled (Just-in-time) by a virtual mashine (Java: JVM, C#: CLR) to mashine code. A big diffrence is that c# relies on the .NET Framework, which is Windows only. Microsoft releases small parts of the frameworks for other platforms, known as .NET Core. Java relies on the JRE (Java Runtime Environment) which is open-source and can be compiled on almost all platforms. Despite Java and C# have a C-like-synthax, C# is a more modern language with features like the var keyword or no force to use try/catch.
11th Aug 2017, 11:59 PM
StoneSmasher
StoneSmasher - avatar
- 1
even though I am not that much into both languages, I believe one of the most important differences is the fact that java runs inside a virtual machine, which allows it to work on any OS.
2nd Feb 2017, 2:38 PM
Alejandro Aristizabal
Alejandro Aristizabal - avatar