Programming languages have operators that are used for arithmetic, comparison, logical evaluation, assignment, and more. Languages may contain a fixed number of built-in operators or they may allow the creation of programmer-defined operators. Operators can be special symbols (like
=) or they can have names (like
instanceof). Each language will specify the precedence and associativity of the operators it supports. Most operators take one or two operands, but some can have more. The position of the operator with respect to its operands may be prefix, infix or postfix.