Upon execution of Java Program, JVM (part of JVM) translates the byte code into executable code which is understandable to CPU. So, that is how your Java class gets executed.
Didn't find the answer you were looking for?