Java View all facts Glossary Help |
syntactic unit > symbol > operator > arithmetic operator > + |
+ | ||||
subject | fact |
+ | ||
has purpose to add two operands together or to perform string concatenation | ||
has syntax operand1 + operand2 | ||
indicates addition | ||
is said to be an overloaded operator because it has two different meanings depending on the types of its operands | ||
is a subtopic of Operators | ||
is an instance of arithmetic operator | ||
is an instance of binary operator | ||
binary operator | uses an infix notation | |
operator | evaluates to its result | |
has precedence | ||
is part of an expression | ||
is evaluated before another operator with lower precedence | ||
returns a value called its result | ||
syntactic unit | has syntax rule bold = mandatory |