Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.
Basic Structure of Java Programs
A Java program involves the following sections:
- Documentation Section
- Package Statement
- Import Statements
- Interface Statement
- Class Definition
- Main Method Class
- Main Method Definition
What is JVM ?
JVM ( Java Virtual Machine) is an abstract machine that enables your computer to run a Java Program.
When you run a Java program, Java compiler compiles your java code to bite code.Then, JVM translates bite code to machine code.

What is JRE ?
JRE( Java Runtime Environment) is a software package that provides Java Class Libraries along with Java Virtual Machine (JVM) and other components to run a program written in Java Programming.

What is JDK ?
JDK (Java Development Kit) is a software development kit to develop applications in Java. When you download JDK, JRE is also downloaded automatically.
