[Next] [Previous] [Up] [Top] [Contents] [Index]

2.7 Method Lookup

2.7.8 Method Invocation

If method lookup is successful in locating a single target method without error, the method is invoked. A new activation record is created, formals in the new scope are initialized with actuals, the statements within the body of the method are executed in the context of this new activation record (or the primitive method is executed, or the field accessor method is executed), and the result of the method (possibly void) is returned to the caller.