Queue Every time a method is called with Java a new Activati
Queue: Every time a method is called with Java a new Activation Frame is created. Write an activation frame manager. Your manager needs to support two calls methodCalled and methodReturn. public void methodCalled(ActivationFrame frame) public ActivationFrame methodReturn(); *assume that all necessary files have already been imported.
Solution
Call these two functions, methodCalled() and methodReturn() from the constructor of the class Frame, of which the object is created.Call the methodReturn() method in the methodCalled() method, and call the methodCalled() in the constructor().
