I will write roughly today. Write briefly about classes, instances, and objects.
Put in programming Data shall be considered as a block. Here are three terms that are often used and often confusing.
Roughly written, it looks like this.
A group of things that have the state and behavior of the world.
Both classes and instances It will be an object.
Example: Imagine a piece of paper.
A type that collects the common states and behaviors of objects. Design documents.
Example: Imagine a piece of paper with an entry format written on it. Is it easy to understand body measurement sheets such as height, weight, and eyesight?
The reality generated from the class. The actual situation generated from the design document.
Example: Personal information is written on the body measurement sheet
Recommended Posts