Java View all facts Glossary Help |
| syntactic unit > expression > conditional operator expression |
| conditional operator expression | ||||
| subject | fact | |||
| conditional operator expression | has example //Print the value of change and "minute" or minutes" depending if change equals 1 or not | ![]() |
has syntax (boolean expression) ? if-true expression : if-false expression | ![]() | |
| is a subtopic of Statements and Expressions | ![]() | |
| is a kind of expression | ![]() | |
| produces a value which is the value of the selected expression | ![]() | |
| expression | can be part of an expression | ![]() |
| has type that is the type of its result | ![]() | |
| has value called its result, or its return value | ![]() | |
has purpose
| ![]() | |
| 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 | ![]() |