Computer Science, asked by anshitasitesh, 8 months ago

What are the parts of switch in java?​

Answers

Answered by Anonymous
3

The Java switch expression must be of byte, short, int, long (with its Wrapper type), enums and string. Each case statement can have a break statement which is optional. When control reaches to the break statement, it jumps the control after the switch expression.

Answered by sandhyadeepu96
0

Answer:

The Java switch expression must be of byte, short, int, long (with its Wrapper type), enums and string. Each case statement can have a break statement which is optional. When control reaches to the break statement, it jumps the control after the switch expression.

Explanation:

please follow me mark as brainlist

Similar questions