Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: abstract method

$
0
0

Can you please clarify your question as you mention an error using override yet the example you show is using redfine and not override.

The redefine should work OK as this simply hides the method implementation in the parent class and redefines it using the new definition.

Using override is different and the rules state that if you use override then the method must be defined as public and hence the error that you are seeing.

Thanks.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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