Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

cannot understand "CALL METHOD super->constructor."

$
0
0

In abap oo programming, we know that constructor of each subclass must contain a "CALL METHOD SUPER->CONSTRUCTOR" statement in the implementation. But that's kind of weird. For example:

if the constructor of superclass is to output a constant like "write xxx", but I do not want to do this in the subclass, why I have to call SUPER->CONSTRUCTOR??

I really can't get it.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>