digitalmars.D.learn - Abstract qs
- Chris Warwick (12/12) Mar 08 2007 There seems to be very little info on abstract methds / classes in the d...
- Chris Warwick (5/15) Mar 08 2007 Ok, seems to work, lol, probably took me longer to write this message th...
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); cheers cw
Mar 08 2007
"Chris Warwick" <sp m.me.not> wrote in message news:espud9$22ll$1 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
Mar 08 2007