Here we can take Human Being as a class. A class is a blueprint for any functional entity
which defines its properties and its functions. Like Human Being, having body parts, and
performing various actions.
Considering HumanBeing a class, which has properties like hands, legs, eyes etc, and
functions like walk, talk, eat, see etc. Male and Female are also classes, but most of the
properties and functions are included inHumanBeing, hence they can inherit everything from
class HumanBeing using the concept of Inheritance.
My name is Abhishek, and I am an instance/object of class Male. When we say, Human
Being, Male or Female, we just mean a kind, you, your friend, me we are the forms of these
classes. We have a physical existence while a class is just a logical definition. We are the
Abstraction means, showcasing only the required things to the outside workd while hiding
the details. Continuing our example, Human Being's can talk, walk, hear, eat, but the
details are hidden from the outside world. We can take our skin as the Abstraction factor in
our case, hiding the inside mechanism.