View RSS Feed

Java Object

Object-oriented programming in Java.

  1. Basics of Method Invocation

    by , 04-26-2012 at 06:39 PM
    Let us revive the method invocation features present in JVM. To invoke a method new frame is made at the execution stack. Every frame consists of oerand stack and local variable array. After the frame creation, operand stack gets emptied & the local variable gets quite populated, along with this which is the target object, and arguments of method. On operand stack, all processing occurs. Maximum stack slots and local variable numbers, that are used while the invocation of method shall be known, ...