staticstring
nounUK /ˈstætɪk strɪŋ/
US /ˈstætɪk strɪŋ/
A static string is a piece of text in a computer program that cannot be changed while the program is running.
The programmer stored the welcome message as a static string so it would always stay the same.
OTHER MEANINGS
2. In programming, a string literal written directly into the source code.
The greeting "Hello, world!" is a static string in the code.
3. A text value that is fixed at compile time rather than created at runtime.
Because it was a static string, the compiler could store it in read-only memory.
4. A string whose contents are protected from modification by the program.
Trying to edit the static string caused an error because it was read-only.