Question

a) Why is the execution environment of a Java class called a virtual machine? How does this virtual machine compare to a real machine running code written in C? b)

Why do you suppose that the method area of a JVM is global to all of the threads running in the virtual machine environment?

Fig: 1

Fig: 2