Design to an Interface

Interfaces are simply a specification/contract/agreement as to how two or more objects can communicate/interact with each other.
What do you mean by mean? Different Types of Statistical Means (and When to Use Them!)

But did you know there’s more than one kind of average? In fact, depending on what you’re trying to measure, you might need a completely different type of mean!