🧠 What is a Programming Language?


💻 Java Language Overview


🔄 Java Code Execution Flow

  1. Write Program (Source Code).java
  2. Compiler (javac) translates source code into Bytecode.class
  3. Bytecode is platform-independent.
  4. Bytecode is executed using the Java Virtual Machine (JVM).
Java Mechanism.png

🧰 Java Components Explained

Component Description
JDK (Java Development Kit) Full Java development toolkit (includes JRE + development tools like compiler)
JRE (Java Runtime Environment) Used to run Java applications (includes JVM + libraries)
JVM (Java Virtual Machine) Converts bytecode into machine code and executes it
JDK
└── JRE
    └── JVM

🧑‍🔬 History and Ownership


🔁 JVM Responsibility