Abstract qs
Chris Warwick
sp at m.me.not
Thu Mar 8 13:18:17 PST 2007
"Chris Warwick" <sp at m.me.not> wrote in message
news:espud9$22ll$1 at digitalmars.com...
> There seems to be very little info on abstract methds / classes in the
> docs, basicly it lists it as a storage class and thats all. So..
>
> Does a class with abstract methods need to be declared abstract aswell?
>
> Do all the abstract methods need to be implemented before it the derived
> class can be instantiated?
>
> can i do ablock of declarations like this...
>
> public abstract:
> void foo();
> int bar();
> void fooBar(int i);
Ok, seems to work, lol, probably took me longer to write this message that
it did to just give it a try. lol
cw
More information about the Digitalmars-d-learn
mailing list