Oracle interview question

How java virtual machine works inside?