It is called a method in java, a function in C, and C++ depends on whether it is inside or outside the class
69 thinking
3 mainstream programming ideas:
1. Functional
2. Object-oriented
3, the imperative.
javascript, 1992.
java 1995, May.