Essential differences between. NET and Java

Source: Internet
Author: User

JavaPlatform-independentLanguage,
. NetLanguage-independentPlatform.

What is the difference between Java and. Net?

JavaMore features on the Internet! Here are some examples!
1. Use Java to develop business and teach complexProgram, Relatively easier! Because JavaCommunityRich! Extremely flexible and OO language! You can cash in the design mode!
2. Most Java frameworks are open-source!LearningJava is very convenient! Low cost! (. NET is not open source code)
3.. Net is a framework that is irrelevant to the Java language! It can be compared with some open-source frameworks, such as spring,WebWork, hibernate, etc.
4. Java execution efficiency is not as high as. net!

Summary:. NET is suitable for medium-sized websites! Java is suitable for the background,EnterpriseSystem, Large website!

Java and. NET are the same:
1. All have virtual machines
2. There are huge class libraries
3.CodeAll running in virtual machine protection mode
Differences between Java and. Net:
1. Java is parsed when it is run multiple times, while. NET is parsed at the first run, and the local code will be executed later.
2..net virtual machine code exposure, various languages can be developed based on. Net Virtual Machine
3..net currently does not support cross-platform, but as long as the virtual machine is cross-platform, all your programs will be cross-platform.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.