Java interfaces and the concept of multiple inheritance