Oops Abap
Oops Abap
JULY 5, 2024
INVENIOLSI
SUSHANT SINGH 0
OOPS ABAP
Types of Method
Access Specifier
SUSHANT SINGH 1
Types of Parameters
Creating an Object
SUSHANT SINGH 2
➔ Here, we have created exception ‘wrong_input’ in global class:
SUSHANT SINGH 3
Note: Diff b/w TYPE and TYPE TABLE OF:
SUSHANT SINGH 4
➔ OOPS Concepts:
Inheritance: Reusability
SUSHANT SINGH 5
Abstract class - Cannot be instantiated - because they are not fully Classs
or Fully Implemented.
SUSHANT SINGH 6
➔ Must redefine this method, to convert it into non-abstract method
➔ Redefine button:
SUSHANT SINGH 7
➔ Interface:
SUSHANT SINGH 8
Method in sub-class: Via Interface
➔ Local Interface:
SUSHANT SINGH 9
➔ Imp Difference:
Multiple Inheritance: In SE24: We can define only one super-class, means multiple
inheritance is not possible through abstract class:
SUSHANT SINGH 10
➔ Below class has 2 parent or 2 interface:
SUSHANT SINGH 11
➔ We can also see it locally:
SUSHANT SINGH 12
SUSHANT SINGH 13