Why use object orientation

The real world is "object-oriented". People and mistakes can be regarded as "objects", such as classmates, mobile phones, water, etc., and things have their own attributes and behaviors. There will also be various connections between various mistakes. Object-oriented is to use the method of "simulation of reality" to design and develop programs.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326315060&siteId=291194637