PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Static Methods

Static Methods

Static Methods are a 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") } }
single-type-arrays-feature.html 路 static-methods-feature.html 路 static-typing-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 28 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com