How does a program work internally in Java?
During compilation
              ↓
            
            
            ↓
          
          When program runs
                ↓
              
              
              ↓
            
            
              ↓
            
            
              ↓
            
            
              ↓
            
            Class Loader - a part of JVM that loads class files.
Bytecode Verifier - checks the code fragments for illegal code that can violate access right to objects.
Interpreter - reads bytecode and executes the instructions.
Related topics