Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

about call super->constructor in subclass

$
0
0

Hi all,

 

For example,

The constructor of the superclass is to output something like "write: 'super'".

But in the constructor of the subclass, I need to output something like "write: 'sub'".

 

The problem is I have to call super->constructor in the constructor of subclass.

What should I do if I don't want to output 'super'?


Viewing all articles
Browse latest Browse all 10425

Trending Articles



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