machine (jvmmaintains stack whose elements are descriptors of the currently active (that isnonterminatedinvocations of methods these descriptors are called frames frame for some invocation of method "foolstores the current values of the local variables and parameters of method foolas well as information on method "coolthat called fool and on what needs to be returned to method "coolfigure an example of java method stackmethod fool has just been called by method coolwhich itself was previously called by method main note the values of the program counterparametersand local variables stored in the stack frames when the invocation of method fool terminatesthe invocation of method cool will resume its execution at instruction which is obtained by incrementing the value of the program counter stored in the stack frame