Object Lifetime and event in ABAP Objects

Go down

Object Lifetime and event in ABAP Objects

Post  Uma_ABAP on Sun Apr 01, 2012 12:55 pm

An object exists for as long as it is being used in the program. An object is in use by a
program for as long as at least one reference points to it, or at least one method of the
object is registered as an event handler.

As soon as there are no more references to an object, and so long as none of its methods are registered as event handlers, it is deleted by the automatic memory management (garbage collection). The ID of the object then becomes free, and can be used by a new object.


Posts : 56
Join date : 2012-03-31

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum