Explain how .NET is powerful than java

I want to know the basic differences between .NET and java

Views: 1172 | Community Opinion: 2

Bookmark this page..

Ask a New Question Go to Home

Community Opinion/Answers

C# and Java both derive from C and C++. Most significant features (e.g., garbage collection, hierarchical namespaces) are present in both. C# borrows some of the component concepts from JavaBeans (properties/attributes, events, etc.), adds some of its own (like metadata tags), but incorporates these features into the syntax differently.

Java runs on any platform with a Java VM. C# only runs in Windows for the foreseeable future.

C# is implicitly tied into the IL common language runtime (see below), and is run as just-in-time (JIT) compiled bytecodes or compiled entirely into native code. Java code runs as Java Virtual Machine (VT) bytecodes that are either interpreted in the VM or JIT compiled, or can be compiled entirely into native code.

Similar web components (e.g., based on JSP) not available in Java standard platform, some proprietary components available through Java IDEs, etc.

Win Forms and Web Forms RAD development supported through the MS Visual Studio IDE - no other IDE support announced at this writing. Swing support available in many Java IDEs and tools.

.NET common language runtime allows code in multiple languages to use a shared set of components, on Windows. Underlies nearly all of .NET framework (common components, ASP+, etc.).

Java's Virtual Machine spec allows Java bytecodes to run on any platform with a compliant JVM.

CORBA allows code in multiple languages to use a shared set of objects, on any platform with an ORB available. Not nearly as tightly integrated into J2EE framework.

Kaouther Said..

Three young boys were fighting over whose dad was the best. My dad is so good he can shoot an arrow, run after it, get in front of it, and catch it in his bare hands. My dad is so good that he can shoot a gun, run after the bulelt, get in front of it and catch it in his bare hands. I've got you both beat. My dad's so good because he works for the city. He gets off work at 5:00 and is home by 4:30. The latest news of the world of the finance interests look Signature.

What do you think? Add your opinion/answer
*your opinion/answer: