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?

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?

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?