What is a client?
A server can also be a client of another entity.
Client code is code (in some class
A)
that uses objects of another class (B). The code in
A is only client code with
respect to class B (or with respect to all classes whose
objects it uses). Code in class B, though, may in turn be
client code of other classes (e.g., D and E), if
it uses objects of those classes. The client code of any class is
always the code outside of that class that wants to use it.
Alyce Brady, Kalamazoo College