What is the difference between java and .Net?
Answers were Sorted based on User's Feedback
Answer / vhorade priti jayvant
java has higher security than the .net does not provide
that level security/
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / bhavani
The main difference is Java is platform independent, .Net
is language independent.
java can shared multiple platforms in single language,.Net
can shared single platform in different languages
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sangeetha kalai
JAVA:-Java is free there are many third party good to use free IDE.
.NET:-where as .net also free but here development only on official IDE.
JAVA:-programs are written in java and runs on any operating system.
.NET:-programs are written in .net runs on windows only
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rohith
Java is developed by Sun Microsystems where as .Net is by Microsoft Corporation.
Both of them are capable of producing high end applications.
Java is a light weight language and can be run on almost all the OS. Light weight doesn't means that it have less capability then .Net rather it means that it do not trigger the computer with lots of load and Hard Disk space. Whereas .Net needs a very heavy framework to be installed which have higher Hardware requirements too compared to Java.
C# is the most popular language of .Net and is used to create any kind of programming like Web Application, WIndows Application and up to an extenct games programming too.
The main reason why many programmers dominate .Net is because maximum things that you need to achieve manually in Java, are already provided by .Net framework automatically.
The .Net garbage collector does not wipe away your objects as and when it likes, but will do the garbage collection in more efficient manner than Java. Basically in Java it has been upto the programmer to clean the memory manually whereas this task is moreover automated in .Net.
Like .Net garbage collector runs at a certain interval and see is there is any memory occupied by any object whose parent is now finished processing (for eg. you closed an application), in this case the garbage collector automatically removes the reference of that object and free up the memory, whereas in Java you need to confirm it that all the objects are destroyed before application quits.
On the other hand Java has a major advantage that it can be run on any OS which is able to install JVM. This is a major disadvantage with .Net.
Also, for .Net a standard development IDE is available that is Microsoft Visual Studio. This tool comparises of all the things you require for your development purpose (Each and every thing you may think need of are at single place).
Whereas, for Java no such standard tool is available. Although, many third party IDEs are available.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vicky shinde
>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.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / aman
1->java is devloped by sun micro system while .net is
devlopped by microsoft corporation.
2-> java is a language which is more plateform independent
while .net is a technology which support multiple languages
and less plateform independent.
3-> in java source code is converted into bytecode by jvm
(java virtual machine) while in .net source code is
converted into msil(microsoft intermediate language) code.
4->java doesn't use pointer where .net use pointer.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ganesh
where java is programming language which supports all
operating systems(platform independent), and where as .net
is frame work which supports upcoming operating systems only.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / sridhar
both platforms has their own advantages as well as their own features too.in dot net frame work supports inter language operability environment so companies need not to switch their platforms instead company can utilise existing skills on the same dot net frame work.In addition to this dot net frame work
supports in built tools which makes easy to build applications.In case of java it is open sourse and same features what dot net has will applicable to java also except inter language operability
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / nagarajan
java .net
java is a from sun. .net is from microsoft.
java is a single .net is a multiple language
language.
java is a language plue .net is a
runtime framework that
support multiple language (c# ,VB)
a runtime
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / dr. mahesh sanadya
(1)java is a language but .net is not a laguage. .net is a
framework which support multiple lanuage to devlop the
application.
(2).net is product of Microsoft but java is product of the
sun.
(3)every operating system support java and allow to run
progam, but .net is supported by only windows/IIs.
(4)Java is highly platform independent, but .net is
primarly for windows
(5).net use concept that "use any language(vb,C#,Vc++,Asp)
and run on .net platform but java is based on concept that
made program in java and run any platform
Is This Answer Correct ? | 0 Yes | 0 No |
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target
What is the preferred size of a component in java programming?
Can we change the value of static variable?
What is Java Package and which package is imported by default?
Which package is used for pattern matching with regular expressions?
What is difference between class and object in java?
which method throws exception of type Throwable
Can two objects have same hashcode?
What is style and indentation?
What methods are called, When we navigate from one applet to another applet?
what is polymorphism with example?types of polymorphism?
Can we overload the main() method?