Ooabap Questions
Ooabap Questions
Ooabap Questions
Classes Methods
Components of a Class • Syntax and Visibility
• Instance Methods and Static Methods
• Constructor
Inheritance
Super classes and Subclasses
Visibility
Inheritance and the (Instance) Constructor
Parameters
Redefining Methods in OOABAP
Compatibility
Principles of the Narrowing Cast
Static and Dynamic Components
Final Classes and Methods
Course Contents
Polymorphism
Advantages Compared to Procedural Programming
Abstract Classes and Methods
Component Namespaces in Classes
Interfaces
Defining and Implementing an Interface
Working with Interface Components
Interface References
• Narrowing Cast
• Widening Cast
Using Several Interfaces
Polymorphism and Interfaces
Polymorphism and Inheritance
Compound Interfaces
Course Contents
Events
Define and Trigger Events
Handle Events
Register and deregister Events
Receive a reference from Sender
Object – Oriented Concepts
What
What are Objects ?
Are Objects?
Model House
Real world Tree
Method
Method
Data Data Method
Method
Method
Method
Crane
Method Boat
Data Method
Method Method
Data Method
Method
SAP AG 1999
OOPS
• If you declare methods in the declaration part of a class, you must also write an
implementation part for it.
CLASS c1 IMPLEMENTATION.
….
ENDCLASS.
Attributes
Classes