For Tesla, I expected that makeBeep( string s ) would still be defined. Because I have overridden on makeBeep( char c ). Isn't that correct?
alias makeBeep = Car.makeBeep; pulls the base classes overloads into your subclass.
Tobias Pankrath via Digitalmars-d-learn Sat, 24 Jan 2015 11:05:45 -0800
For Tesla, I expected that makeBeep( string s ) would still be defined. Because I have overridden on makeBeep( char c ). Isn't that correct?
alias makeBeep = Car.makeBeep; pulls the base classes overloads into your subclass.