Step1. Here is the program.
So here we have the O/P.
Create object statement calls the constructor and then when it tries to access the static attribute of the class CL_GUI_CONTAINER=>DEFAULT_SCREEN which is a reference variable of the class, CL_GUI_CONTAINER the class constructor is called and object is created and passed to the i_parent parameter of the constructor of the class cl_gui_alv_grid.
So here we have the O/P.
Create object statement calls the constructor and then when it tries to access the static attribute of the class CL_GUI_CONTAINER=>DEFAULT_SCREEN which is a reference variable of the class, CL_GUI_CONTAINER the class constructor is called and object is created and passed to the i_parent parameter of the constructor of the class cl_gui_alv_grid.
No comments:
Post a Comment