Learn Java Programming - Switch Statement Tutorial - Part 2

preview_player
Показать описание
The switch statement works in a way that you might not expect. Each case constant is evaluated top-down. The first case constant that equals the result of the expression is the entry point and all further statements are executed unless the keyword break occurs.
Рекомендации по теме
join shbcf.ru