filmov
tv
Learn Java Programming - Switch Statement Tutorial - Part 2

Показать описание
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.