Java

JAVA


Java

Java is a programming language and a platform. Java is high level,robust,object oriented and secure programming language.
package programs;
public class Hey 
{
public static void main(String[] args) 
{
System.out.println("Hello World,");
}
}
Hello World,

Features of Java

  1. Simple
  2. Portable
  3. Object-oriented
  4. Platform independent
  5. Robust
  6. Secured
  7. Interpreted
  8. High performance
  9. Architecture neutral
  10. Dynamic 
  11. Multithreaded
  12. Distributed

JVM

JVM is an abstract machine. It is called virtual machine because it does not physically exist. 

JVM performs

  1. Loads code
  2. Verifies 
  3. Execute code
  4. Provides runtime environment 

JRE

It is used to provide the runtime environment. It is the implementation of JVM. It physically exists. It contains a set of libraries and other files that JVM uses at runtime.

 JDK

The java development kit is a software development environment which are used used to develop java applications and applets. It physically exists. It contains JRE + development tools.