0

This little program in java is compiling well but not printing anything. Please help me..

I am expecting the switch to enter drum case and print by calling drum function present in print method. Please help me solve it. https://code.sololearn.com/cA17A22a14a1/?ref=app

24th May 2021, 10:38 AM
Jagadeesh Gurana
Jagadeesh Gurana - avatar
1 Resposta
+ 7
line 7: switch(instrument){ not switch("instrument"){
24th May 2021, 10:40 AM
Oma Falk
Oma Falk - avatar