Assigning Interface to Object

Mandeep Singh Brar mandeep at brars.co.in
Wed Jan 19 23:01:26 PST 2011


"This would be easily resolved if interfaces were known to be Objects. "

But shouldnt this be the case, because there would be nothing called as an
Interface which can be pointed to; it would be an Object which is implementing an
interface which is being pointed to. So shouldnt Interfaces be Objects too.
Otherwise, wouldnt it defeat the purpose of having Object as the base class for
everything.

Thanks
Mandeep


More information about the Digitalmars-d-learn mailing list