Function is C language term, it refers to a piece of code and the function name will be the identifier to use this function. Method is the OO term, typically it has a this pointer in the function parameter. You can not invoke this piece of code like C, you need to use object to invoke it.