Static Method in SAP ABAP | Instance Method in ABAP | ABAP Classes and Methods | Static VS Instance

Описание к видео Static Method in SAP ABAP | Instance Method in ABAP | ABAP Classes and Methods | Static VS Instance

Hello Friends,

In this session we are going to see How to use SAP ABAP Instance Method vs Static Method in object oriented programming.

What is Static and Instance Method in OO ABAP?

1) Static method in oops abap
SAP ABAP Static Method is method which can be called irrespectively to class instance means we don't need to create any object to call static method. Static method in abap access only static attributes.

2) Instance Method in oops abap
Instance method is call only using object reference. Instance method in abap access static as well as instance attribute.

Please Read article on static method vs Instance method.
https://www.learnsapabap.com/2018/01/...

Please visit my website to learn more about ABAP.
https://www.learnsapabap.com/

#Static_Method
#Instance_Method


Thanks,
#LearnSapAbap
Instagram : @swap_neeeel

Комментарии

Информация по комментариям в разработке