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
- Simple
- Portable
- Object-oriented
- Platform independent
- Robust
- Secured
- Interpreted
- High performance
- Architecture neutral
- Dynamic
- Multithreaded
- Distributed
JVM
JVM is an abstract machine. It is called virtual machine because it does not physically exist.
JVM performs
- Loads code
- Verifies
- Execute code
- 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.