What is the difference between java and .Net?

Answer Posted / rohit jain

* Java is from Sun, .Net is from Microsoft
* Java is a language plus a runtime, .Net is a runtime
framework that supports multiple languages, Visual Basic and
C# (the .Net language most similar to Java) among them.
* C# is very similar to Java but a few years younger,
and a bit nicer in some respects - it has a slightly simpler
syntax for some common constructs.
* Java is more platform independent, it runs on several
operating systems including Windows, Mac and Linux. .Net is
primarily for Windows. Although the open source project Mono
is developing a multi-platform runtime for .Net, so this is
less of an issue than it used to be.
* .Net has a more integrated development environment, as
the IDE, runtime and server all come from Microsoft as a
standard package, while Java is based on third-party tool
and server providers. It used to be the case that the .Net
development environment was clearly superior, but the
difference is smaller these days.
* It can be argued that Java gives more flexibility, as
there are more server- and IDE-providers to choose from, at
the cost of some extra overhead for the developer to get the
different pieces to work together.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are parameters in a method?

793


What are byte codes?

865


What about abstract classes in java?

835


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2481


What is jdbc api?

755


What is difference between path and classpath in java?

702


'A class is a template for an object' explain this statement.

747


What is the use of beaninfo?

789


What is a boolean in java?

771


How to instantiate member inner class?

834


What is a void method?

699


What is the longest unicode character?

884


Define nashorn in java8.

789


How do I remove a character from a string in java?

716


Is a boolean variable?

736