DNA and OOP Classes and Instances
The concept of OOP Object instantiation based on the blue-print information (DNA) stored in the Class, is directly inspired by the biological cell division process, called Mitosis, where a single cell divides into two identical daughter cells. Every time you instantiate an Object from a Class you are virtually going through a Mitosis! All the information (properties and methods) that were defined in the Class at declaration time are copied over on instance creation at run time.
Last updated