This article needs additional citations for verification. (June 2022) |
This article is missing information about the use of the static keyword to declare class methods in C++ and Java.(April 2014) |
static
is a reserved word in many programming languages to modify a declaration. The effect of the keyword varies depending on the details of the specific programming language, most commonly used to modify the lifetime (as a static variable) and visibility (depending on linkage), or to specify a class member instead of an instance member in classes.