Languages Features Calendar About Lists Add Language
GitHub icon

Static Methods

Static Methods

Static Methods are a language feature.

Methods on a class in object oriented langauges that are not called on an instance.

Languages with Static Methods include TypeScript

Example from TypeScript:

class Person { static sayHi() { console.log("Hello world") } }

Article source

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