Languages Features Calendar About Lists Add Language
GitHub icon



Methods are a language feature.

A method in object-oriented programming (OOP) is a procedure associated with a message and an object. An object consists of data and behavior. The data and behavior comprise an interface, which specifies how the object may be utilized by any of various consumers[1] of the object.

Languages with Methods include JavaScript

Example from JavaScript:

class Person { method1() {} method2() {} }

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements · Email · GitHub