Static Method

Noun · Development

Definitions

  1. A method defined on a class rather than on instances of it, callable without creating an object. It has no access to instance state (no `this`/`self` binding to an instance) and is commonly used for utility functions, factory methods, or namespaced helpers.

    In plain English: A function that belongs to a class itself rather than to any particular object created from that class.

    Example: "Math.max is a static method — you call it on the class directly, not on some Math instance."

Related Terms