What Happens at Compile time and Runtime in Java?
At compile time, java file is compiled by Java Compiler
What Happens at Compile time and Runtime in Java?
At compile time, java file is compiled by Java Compiler
[It does not interact with OS] and converts the java code into byte code.

What is ByteCode:
Byte Code is the Intermediate Code Which is only understood by the JRE and It is stored in the .class file.
Ex: [Simple.class]
What happens at Runtime?

Classloader:
is the subsystem of JVM/JRE that is used to load class files.
Bytecode Verifier:
checks the code fragments for illegal code that can violate access right to objects.
Interpreter:
It read bytecode stream then execute the instructions.
Process of Compilation & Execution:

메타데이터
- post_id
- e90352ca8d2f
- slug
- what-happens-at-compile-time-and-runtime-in-java-e90352ca8d2f
- url
- https://medium.com/@sanjaysanjayagarwal3/what-happens-at-compile-time-and-runtime-in-java-e90352ca8d2f
- canonical_url
- https://medium.com/@sanjaysanjayagarwal3/what-happens-at-compile-time-and-runtime-in-java-e90352ca8d2f
- author_url
- https://medium.com/@sanjaysanjayagarwal3
- status
- ok
- fetched_at
- 2026-07-24 08:12:30