Computer Science, asked by varshadeeksha1985, 8 months ago

write a switch case program in java on topic transport and issue a bill ​

Answers

Answered by khushimirza163
1

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.

...

Syntax:

switch(expression){

case value1:

//code to be executed;

break; //optional.

case value2:

//code to be executed;

break; //optional.

Please mark me as the brainliest...

Similar questions