Computer Science, asked by sarkarsid, 8 months ago

Fill in with appropriate datatype.
switch( Choose.. $ )
case value1
case value2 :
default:
System.out.println("Hello");​

Answers

Answered by sonalikale22
0

Answer:

hey mate can you plz repeat it because the question is un understand able

Answered by dhanumsdhoni
5

Answer:

Byte

Explanation:

Switch in java works with primitive data types byte, short, char and int;

wrapper classes like Character, Byte, Short and Integer;

enumerated types (added in java 5) and String class (added in java 7)

The correct answer is: Byte

Similar questions