In OOP, is it possible to have a class that inherits from multiple other classes? And if yes, how is this situation called?
For example, suppose I have the following classes:
Eye
Nose
Mouth
Eyebrow
Ear
Hair
Skin
Now I want to have a class called Face
which should inherit or depend on all these classes to make a Face
object. In other words I want to assemble many classes into one class.