Welcome to SAP Central
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Reference variable in ABAP Objects

Go down

Reference variable in ABAP Objects  Empty Reference variable in ABAP Objects

Post  Uma_ABAP Sun Apr 01, 2012 1:23 pm


As we know that a reference variable contains an object reference, a reference variable has two characteristics, static as well as dynamic characteristic. The static characteristic is the class or interface used in reference variable definition. The dynamic type is the object to which the reference variable is currently pointing.

Reference variable assigning rule. When the static and the dynamic type of a reference variable are different, the principal rule is that the static type is always more general than the dynamic type. For example if the static type is an interface the dynamic type can be a class implementing the interface.

Uma_ABAP

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