November 14, 2003 Abstract or not | ||||
---|---|---|---|---|
| ||||
What's the difference between class SomeObject { abstract void someMethod(); } and class SomeObject { void someMethod(); } Thanks -- Julio César Carrascal Urquijo |
November 14, 2003 Re: Abstract or not | ||||
---|---|---|---|---|
| ||||
Posted in reply to Julio César Carrascal Urquijo | You can never create an instance of the abstract version. The second one just won't link "Julio César Carrascal Urquijo" <adnoctum@phreaker.net> wrote in message news:bp1adc$2g4f$2@digitaldaemon.com... > What's the difference between > > class SomeObject > { > abstract void someMethod(); > } > > and > > class SomeObject > { > void someMethod(); > } > > > Thanks > > > > -- > Julio César Carrascal Urquijo > > |
Copyright © 1999-2021 by the D Language Foundation