Reserved Word
Reserved words (occasionally called keywords) are one type of grammatical construct in programming languages. These words have special meaning within the language and are predefined in the language’s formal specifications. Typically, reserved words include labels for primitive data types in languages that support a type system, and identify programming constructs such as loops, blocks, conditionals, and branches.
The list of reserved words in a language are defined when a language is developed. Occasionally, depending on the flexibility of the language specification, vendors implementing a compiler may extend the specification by including non-standard features. Also, as a language matures, standards bodies governing a language may choose to extend the language to include additional features such as object-oriented capabilities in a traditionally procedural language. Sometimes the specification for a programming language will have reserved words that are intended for possible use in future versions. In Java, const
and goto
are reserved words — they have no meaning in Java but they also cannot be used as identifiers. By "reserving" the terms, they can be implemented in future versions of Java, if desired, without "breaking" older Java source code. Reserved words may not be redefined by the programmer, unlike predefined functions, methods, or subroutines, which can often be overridden in some capacity. The name of a predefined function, method, or subroutine is typically categorized as an identifier instead of a reserved word.
Read more about Reserved Word: Reserved Word Vs. Keyword, Comparison By Language, Reserved Words and Language Independence
Famous quotes containing the words reserved and/or word:
“Parents ability to survive a childs unabating needs, wants, and demands...varies enormously. Some people can give and give....Whether children are good or bad, brilliant or just about normal, enormously popular or born loners, they keep their cool and say just the right thing at all times...even when they are miserable themselves, inexhaustible springs of emotional energy, reserved just for children, keep flowing unabated.”
—Stella Chess (20th century)
“Men talk glibly enough about moonshine, as if they knew its qualities very well, and despised them; as owls might talk of sunshine,none of your sunshine!but this word commonly means merely something which they do not understand,which they are abed and asleep to, however much it may be worth their while to be up and awake to it.”
—Henry David Thoreau (18171862)