Answers for "java switch class type"

1

java switch on what classes

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).
Posted by: Guest on March-07-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language