What is the difference between java and .Net?

Answer Posted / gopal reddy v

.Net is a framework for which you compile a program, e.g. you could write a C++ or C# program and compile it to a .Net executable. As long as your Windows or Linux machine has a .Net runtime you can execute your compiled program. In this sense, .Net is both language and platform independent. Java is in many ways similar to .Net except that there is a single programming language (Java). .Net seems to have a much brighter development future than Java both for desktop and Web development via ASP.Net and Silverlight.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the transient field modifier?

565


How to find the index of the largest number in an arraylist java?

519


Does hashset allow duplicates in java?

582


What is the purpose of the System class?

583


Explain the features of interfaces in java?

558






What is an object’s lock and which object’s have locks?

506


How many wrapper classes are there in java?

536


How to sort an array in java without using sort method?

526


How do you compare two objects?

524


How do you declare an array in java?

522


Why method overriding is used?

541


What is java virtual machine? Explain

571


What is difference between length and length() method in java ?

562


What is anti pattern in programming?

501


Name few java 8 annotations ?

565