May 07, 2008 Super | ||||
---|---|---|---|---|
| ||||
what does this do ? super(null) seen in program thus public class MyWindow : ApplicationWindow { this() { addMenuBar; super(null); } |
May 07, 2008 Re: Super | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ty Tower | it calls the constructor of the inherited class with a parameter null.
like: ApplicationWindow.this(null);
Ty Tower schrieb:
> what does this do ?
> super(null)
>
> seen in program thus
>
> public class MyWindow : ApplicationWindow
> { this()
> {
> addMenuBar;
> super(null);
> }
>
|
Copyright © 1999-2021 by the D Language Foundation