Answers for "can switch statements in java work with boolean"

2

can switch statements in java work with boolean

The expression in the switch statement must be of type char, byte, short, or int. It cannot be boolean, float, double, or String.
Posted by: Guest on February-14-2021

Code answers related to "can switch statements in java work with boolean"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language