DEV Community

Cover image for Class And Object Concept
Amritanshu Dev Rawat
Amritanshu Dev Rawat

Posted on

Class And Object Concept

Task: You have to build a house on empty land.

  • The first thing - create structure (how the house will look like) - will go to the architect for a blueprint of the house
    image.png

  • So, the blueprint is the class, you only have a blueprint it's not the actual house.

  • Now, gather all the materials and other stuff to build the house according to the blueprint

image.png

  • The final build product - House - is Object

Top comments (0)