Java Tutorials - 33 The Conditional Operator (?:)

preview_player
Показать описание
The conditional operator is a ternary operator that can be looked at as a fast and clean way to write an if else statement.

For more information on the conditional operator:
Рекомендации по теме