Comparison with other languages
Difference between C++¶
- Platform compatible, write once, compile once, run everywhere on JVM
- C++: write once, compile everywhere vs Java: write once, compile once
- What is JVM? Java Virtual Machine
- JRE vs JDK
- JRE (Java Runtime Environment) is the JVM program, Java application need to run on JRE
- JDK contains the tools for developing Java programs running on JRE, for example, it provides the compiler "javac"
Last update:
September 8, 2020