Home >Java >javaTutorial >Comparison of Java and .NET

Comparison of Java and .NET

WBOY
WBOYforward
2023-08-20 20:37:061650browse

Comparison of Java and .NET

Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.

.NET framework is a computer software framework invented by Microsoft. It runs on Microsoft Windows OS (Operating Systems). It provides user interface, data access, database connectivity, cryptography, web application development, etc.

Languages

Java supports only Java patterns.

.NET supports multiple languages, such as VB.NET, C#, F#, etc.

Platforms

Java is platform independent and it can run on Windows, Linux and Mac OS.

.NET works on Windows.

Runtime

Java has Java virtual machine, bytecode, JDK, JRE, etc.

.NET has Common Language Runtime

GUI Component

Java has Java Beans, and .NET has its classes.

database

JDBC is used for connecting Java with database, whereas for database in .NET, use ADO.NET.

The above is the detailed content of Comparison of Java and .NET. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete