Why private methods cant be virtual?

Daniel Kozak kozzi11 at gmail.com
Tue Sep 22 10:25:05 UTC 2020


On Tue, Sep 22, 2020 at 12:23 PM Daniel Kozak <kozzi11 at gmail.com> wrote:

> ...
> void main(string[] args)
> {
> B b = new B;
> b.overrideFun;
> }
>

You can have A and B in one module too of course
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20200922/743f2500/attachment.htm>


More information about the Digitalmars-d-learn mailing list