Object variable is the manager of the object, rather than the owner of
the object + operator (.) Can make objects work function call
Class is the norm, to create objects based on the definition of the class of
an object is an entity that needs to be created, you can do things for us
Class: Cats
defines all cats properties
can be used to define variables
Object: Object = cat + service attributes
express things or events
in response to run-time information to provide services
Defines the object class, the object is a class entities
Package: data and operations on the data together
operating data is always wrapped
Data: state property or
operation: function
----------------
Disclaimer: This article is CSDN bloggers 'sea fish' original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/weixin_43288807/article/details/103738825