The human body has many organs (heart, lungs, brain, and kidney, to name a few). We could think of the human body as complex object made up of simpler objects (organ).
a) Create classes for heart and brain. Think about what the functions of the heart and brain are in our body and map these functions into methods.
b) Create an organ class as the base class for the organs and derive the classes created earlier from the base class.