Interface reference

Michael Koehmstedt mykillk at gmail.com
Fri Jul 4 17:15:12 PDT 2008


I just read this in the book "Learn to Tango with D", page 73:

"It is not possible to instantiate interfaces, but you can have references to class instances through the type of an interface that the class implements."

Could anyone give an example of what this means?






More information about the Digitalmars-d mailing list