I have repeatedly seen the use of the term "method" to refer to member functions of classes as opposed to the term "function" to refer to "free" non-member functions. On the other hand, in C ++ texts, everything is often called a "function" and members and non-members.
Actually, what is the difference between the terms "method" and "function", why are members not called "methods" in C ++?
And why are there so many words? It's simple:
Method is a function of the class
A method is always a function, and a function is not always a method.