Java's strengths and weaknesses

advantage:

  1. JVM achieved through cross-platform, realized once, run everywhere
  2. 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
  3. Has its own garbage collection mechanism, do not worry about memory recovery on the part of the object
  4. Object-oriented thinking, develop very convenient

Disadvantages:

  1. API package needs to be called by the JVM to get to the OS, brings efficiency
  2. You need to run the environment JVM, not suitable for the development of desktop applications
Published 91 original articles · won praise 54 · views 10000 +

Guess you like

Origin blog.csdn.net/BigBug_500/article/details/99978884