java tutorial - What is the difference between Java and .Net | Java Vs .Net - java programming - learn java - java basics - java for beginners
Difference between Java and .Net
FEATURES | JAVA | .NET |
---|---|---|
Web definitions | Java is concurrent, class-based, object-oriented language, as well as specifically designed to contain as only some implementation dependencies as possible. | The Framework of .NET is a software framework developed by Microsoft which runs mainly on Microsoft Windows. It includes a large library and it provides language interoperability across several programming languages |
Inventors | Oracle and Sun Microsystem | Microsoft |
Supports | It supports only Java simple code and programming patterns. | .NET is a runtime framework that supports multiple languages, Visual Basic and C#. |
Runs on | Java is platform independent, that is, it runs on numerous operating systems including Windows, Mac and Linux. | .NET is primarily for Windows. |
Virtual machines | Here, JVM (Java Virtual Machine) converts the bytecode into machine code. | In .NET, The Microsoft's virtual machine, converts bytecode into machine code. |
Important components | It comprises of JVM, JRE, JDK, Java Applets, java script and Swings. | It comprises of .NET framework, composed of Common Language Runtime (CLR), virtual machine, as well as a variety of applicative binary libraries. |
Garbage cleaning facility | The Java provides a good Garbage cleaning facility as compared to. NET. | It is not that capable in .NET as compared to Java. |
Extra features | There are no such extra features available in Java. | In .Net, a standard development IDE (Microsoft Visual Studio) is available. |
Versions | JDK Alpha and Beta JDK 1.0 JDK 1.1 J2SE 1.2 J2SE 1.3 | .NET Framework 1.0 .NET Framework 1.1 .NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5 |
File Extensions | java, .jav, .jad, .jar, .jsp, .class | .asax, .ascx, .ashx, .asmx, .aspx |
Learn Java - Java tutorial - dotnet framework - Java examples - Java programs