+ 1
The switch Statements | Java
It gives such an error : ”Illegal start of expression” https://code.sololearn.com/ccIJo3El2M88/?ref=app
8 Réponses
+ 2
hotto doggu , remove the equal sign "=" in every case statement. Look at the code.
https://code.sololearn.com/c6w6FJ94MN8i/?ref=app
+ 3
Hey you have to remove only the "=" sign after "case" keyword you ....should use it like ....case 1:
case 2:
etc. Hope it helps you.
+ 2
hotto doggu , better post your code linked to the Playground and the whole description. Otherwise it is hard to guess the problem.
+ 1
omgg! so sensible, thank you so much!! TheWh¡teCat 🇧🇬
+ 1
hotto doggu , you are welcome.
+ 1
ofccc it helps, thank u so much!! Abhinav Raj
+ 1
hotto doggu,you are most welcome.
0
I shared wrong link i guess, is it all right now? TheWh¡teCat 🇧🇬