About Question enthuware.ocajp.i.v8.2.1282 :
Posted: Wed Sep 04, 2019 1:44 am
What, if anything, is wrong with the following code? void test(int x){ switch(x){ case 1: case 2: case 0: default : case 4: } }
was thinking variable x in switch is not declared since it was only visible within the method
was thinking variable x in switch is not declared since it was only visible within the method