Computer Science, asked by rishisenthivel, 3 months ago

Name the data types that switch statement can work on (in java)

Answers

Answered by Anonymous
1

Explanation:

A switch works with the byte , short , char , and int primitive data types. It also works with enumerated types (discussed in Enum Types), the String class, and a few special classes that wrap certain primitive types: Character , Byte , Short , and Integer (discussed in Numbers and Strings).

Answered by seemadesai6777
0

Explanation:

HOPE IT WILL HELP YOU........

Attachments:
Similar questions