Java is not a programming language, it is a platform, it can be said to be a technology.
Java includes a 1.Java programming language, an object-oriented programming language similar to C + + or Smalltalk. Learning Java programming language like learning human language, there is a set of rules and grammar. A 2.Java virtual machine (JVM) is used to execute Java programs. The JVM has many versions of the platform, such as Linux and Windows editions. With the Jvm,java program can be executed on different platforms, so-called "write once, everywhere can be executed." 3.Java APIs (referred to as the programming interface of a library) is a predefined set of categories that can be used directly in your program. These things are free, features like file access, network reading and writing, graphics interfaces, and so on. Some of the 4.Java components, such as the most typical garbage collector. Compare the flow of words Java is a platform, including many components.
The difference between Java and HTML