JVM achieved through cross-platform, realized once, run everywhere
Java limits the direct manipulation of memory, completed by the JVM; but there is a direct access to the memory pointer in C / C ++, the bring efficiency, but it also brings additional confusion
Has its own garbage collection mechanism, do not worry about memory recovery on the part of the object
Object-oriented thinking, develop very convenient
Disadvantages:
API package needs to be called by the JVM to get to the OS, brings efficiency
You need to run the environment JVM, not suitable for the development of desktop applications