DEV Community

Cover image for Class And Object Concept

Class And Object Concept

Amritanshu Dev Rawat
New Gen Developer
・1 min read

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

  • 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


  • The final build product - House - is Object

Discussion (0)