2008 Nov 18 9:04 AM
Hi,
I know we cannot instantiate an abstract clas..
data : var type ref to cl_abap_typedescr.
var = cl_abap_typedescr=>describe_by_name( p_table ).
here in the above statemnt what is the var called.? is it an object of the abstract class cl_abap_typedescr
regards
Hi,
I know we cannot instantiate an abstract clas..
data : var type ref to cl_abap_typedescr.
var = cl_abap_typedescr=>describe_by_name( p_table ).
here in the above statemnt what is the var called.? is it an object of the abstract class cl_abap_typedescr
regards
2008 Nov 18 9:12 AM
No it is not an object of an abstract class . var is a reference to class cl_abap_typedescr.
2008 Nov 18 9:24 AM
thnks
whts da difference between a object and a reference.
Edited by: SAP LEARNER on Nov 18, 2008 10:24 AM
2008 Nov 18 9:47 AM
Object is an instance of a class. Reference variable ( reference ) that points to an object .
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |