Java program will be compiled into Java bytecode, the code
will run on Java Virtual Machine(VM).
Java platform consists of two components: Java VM and Java
API.
The types of Java applications:
1 Java applets
2 Java applications
3 java server
4 Java servlet