What will be the output of the program? float f = new float("12"); switch (f) { case 12: system.out.println("twelve"); case 0: system.out.println("zero"); default: system.out.println("default"); } a zero b twelve c default d compilation fails?
Answers
Answered by
0
Well compilations fail should be the answer because s of system is small.
otherwise twelve
otherwise twelve
aakarsh09:
follow me if you liked my answer
Similar questions