Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why .NET is a Framework and Java is a Language [closed]

Tags:

java

.net

concept

Ok. It's not a battle. I'm curious about the concept of framework, I worked with some frameworks like django, zend, rails and cakephp in various levels.

Today a friend of mine sent me a presentation where he listed .NET as a framework, no big surprise I've discussed about .NET framework and I know the basic concept behind it, and from my limit point of view in the .NET technology it seems fair to say it's a framework.

But then it hit me? Why is Java a Language and .NET is a Framework, the more I read the more I get confused, Both Java and .NET have SDKs, is it because java runs on a VM? Is it because .NET supports multiple programming languages? What is the big difference I'm missing here?

like image 328
Jonathan DS Avatar asked Nov 17 '11 20:11

Jonathan DS


People also ask

Is .NET close to Java?

The biggest difference between Java and . NET is that Java can run on any operating system through its compilers and JRE (Java Runtime Environment) as it follows the principle “write once, run anywhere”. On the other hand, . NET works only on the Windows operating system and its different versions.

Why .NET is not a programming language?

NET Framework is a platform for building software. It is not a language itself. The primary (but not only) languages developers use to build software on the . NET Framework are C# and Visual Basic.

Is .NET a framework of Java?

NET framework is a pure object oriented, that similar to the Java language. But it is not a platform independent as the Java. So, its application runs only to the windows platform. The main objective of this framework is to develop an application that can run on the windows platform.

Why is .NET different than Java?

The most prominent difference between . Net and Java is that Java works on any operating system and . Net mainly focuses on different versions of Windows.


1 Answers

Java is both a language and a framework, both tied together and given one name.

.NET is a platform that has many languages that use it - C#, VB.NET, F# and many more.

The difference is one of naming and semantics, no more.

like image 160
Oded Avatar answered Nov 15 '22 17:11

Oded