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 the main uses of java?

773


What is the purpose of the system class in java programming?

771


What is a dynamic array in java?

810


What are the advantages of user defined functions?

766


Can the interface be final?

777


How will you initialize an Applet?

849


How can you read an integer value from the keyword when the application is runtime in java? example?

874


Explain the difference between the public, private, final, protected, and default modifiers?

802


How many bits are in a sentence?

812


Can we have try without catch block?

869


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

836


What does snprintf return?

786


What are the types of inner classes (non-static nested class) used in java?

823


What is the generic function?

748


How do you use find and replace?

712