The role of static member functions and static member variables
Static members only belong to classes, not concrete objects
1. When some properties of a class require all objects to share a single cent of memory, they can be defined as static member variables.
2. Static member functions can be called directly using classes, so when you need to view the static member variable properties of a class, you can call them directly through static member functions without the need for specific objects to call.
3. Because static members belong to classes, not concrete objects, all static member functions cannot use this pointers