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

Why does abstract class have constructor?

581


How many threads can I run java?

571


What are the changes in java.io in java 8 ?

572


What is an example of a boolean?

584


Which java version is latest?

552






What is procedure overloading?

1814


Why does java not support operator overloading?

682


Can we create our own daemon thread?

552


Explain with example the concept of constant variable in java.

648


Can private class be inherited in java?

572


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1041


How does java enable high performance?

707


What modifiers may be used with an inner class that is a member of an outer class in java programming?

550


What are the differences between processes and threads?

534


What is double checked locking in singleton?

627