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.