write a switch case program in java on topic transport and issue a bill
Answers
Answered by
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