Functions in Object Oriented Programming
In mathematics a function in an operation where a variable is passed in an operation is performed and a result is returned.
x = f(n)
In OOP the concept is the same except that the function does not necessarily return a value.