Saved Bookmarks
| 1. |
write a program in Java to input a number and print it in the word form using switch case. please tell me fast. |
|
Answer» ong>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. ... switch(expression){ case value1: //code to be EXECUTED; break; //optional. case value2: //code to be executed; break; //optional. |
|