Java View all facts Glossary Help |
syntactic unit > expression |
expression | ||||
subject | fact |
expression | can be part of an expression | |
has definition A series of variables, operators and method calls (constructed according to the syntax of the language) that evaluates to a single value | ||
has type that is the type of its result | ||
has value called its result, or its return value | ||
has purpose
| ||
is a subtopic of Statements and Expressions | ||
is a kind of syntactic unit | ||
occurs in a context where a value is required | ||
performs a computation specified by 0 or more operators | ||
returns a value from its computation | ||
syntactic unit | has syntax rule bold = mandatory |
Kinds of expression :