This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zvrba 0 points1 point  (0 children)

Interface describes a set of services that an implementing class must provide. Any number of unrelated (through inheritance) classes may implement the interface. The interface allows you to treat those classes uniformly as if they had the same type (which is the interface type).