Static attribute and method of Interface | Interface static attribute | SAP ABAP OOPS Interface

preview_player
Показать описание
Static attribute and method of Interface | Interface static attribute | SAP ABAP OOPS Interface

Static attributes and method of Interface can be accessed directly in the data processing as of class. There is no need to create an object for the class.

The program is shown in the video which contains an interface where we have defined constants, static data, and static methods. The program contains a class that defines the interface and implements its method. Now at the start of the selection, we are valuing the class data directly by statement and calling the method directly by call method statement.

In the previous video, we have already seen interface related theory part.
------- Interface concept in sap abap object oriented programming -----
1) Interface is not class. It is an entity which can not have any implementation. An interface can contains only method declaration and its components.

2) Interface is declared in public section of class any other section will give syntax error.

3) Interface data are value by data value at time of interface declaration in any class definition.

Please watch complete video on sap abap oops interface in which I have shown you everything practically i.e step by step creation of sap abap interface techniques and use in class in sap abap oops..

Click on link below to watch ---

link to check Interface in object oriented programming

All videos related to sap abap object oriented programming.

Please read artical on interfaces in sap and copy code for practice purpose from my website.

Please visit my website to learn more about ABAP.

Please connect us on telegram channel.

link to check interface in object oriented programming

Thanks,
#learnsapabap
Рекомендации по теме