0
Can we put numerical value in enum?
like enum Prime{ 2, 3, 5, 7} Prime a= Prime.2 Switch(a){ Case(2) .......
3 Respostas
0
Yup
0
@fatma i tried but i am getting error in execution.
0
They should follow the normal naming rules, so they can't start with (or only contain) numbers.