The document is an ABAP report that demonstrates object-oriented programming concepts, specifically inheritance and method overriding. It defines a generic vehicle class and a car class that inherits from it, showcasing method calls and upcasting. The report also illustrates dynamic method calls and downcasting to access subclass-specific methods.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views1 page
Upcasting Downcating
The document is an ABAP report that demonstrates object-oriented programming concepts, specifically inheritance and method overriding. It defines a generic vehicle class and a car class that inherits from it, showcasing method calls and upcasting. The report also illustrates dynamic method calls and downcasting to access subclass-specific methods.