Content deleted Content added
m link to recursive functions in CS context |
m Robot-assisted disambiguation (you can help!): Java programming language |
||
Line 13:
*In [[Visual Basic]] and [[Visual Basic .NET|VB.NET]], static locals declared in class-level functions are local to the object. That is, they act like non-static class-level variables, and each object has its own copy of the variable.
Stricter and more formal [[Object-oriented programming|object-oriented]] languages such as [[Java (programming language)|Java]] and [[C Sharp|C#]], do not allow local variables to be declared static at all.
Note: This is distinct from other usages of the <code>static</code> keyword, which has several different meanings in various other languages.
|