What is the difference between java and .Net?

Answer Posted / rohit jain

Java is platform independent, only thing we need is jvm on
the platform which comes in all operating systems by
default,.net is also platform independent as it needs
only .net framework,but since m$ owns the copyright to
the .net framework api's,it becomes platform dependent.

Java uses a common language while in .net we can use many
languages and it generates a platform specific code

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmi and steps involved in developing an rmi object?

809


Can we define constructor in inner class?

762


what are the high-level thread states? : Java thread

782


Why inputstreamreader is used in java?

779


Java is pass by value or pass by reference? Explain

773


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

826


Define max and min heap, also the search time of heap.

833


What is the method to declare member of a class static?

775


What is scope & storage allocation of static, local and register variables? Explain with an example.

807


What is anonymous inner class?

822


Does treeset allow null in java?

719


How will you serialize a singleton class without violating singleton pattern?

1752


How do you add an arraylist to an array in java?

730


What is this keyword in java?

804


What is the function of java?

746