understanding interfaces

  • Thread starter Thread starter Crirus
  • Start date Start date
C

Crirus

Some tutorials?
I need to understand how a interface work...
I have a interface, a class with a private member as that interface
The sample call directly the interface member... what implementation is
called.. etc
 
We... theoreticaly I understand implementationa nd definiton of interface
but there is some aspects of the way it work...
I have a sample class that not implement the interface, but declare a member
of type that interface.
Later, it use methods of the interface like it was a class...so, wich
implementation are executed when I call members of interface not a class
that implement the interface
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top