Prev Next

Java / Control Statements

Can we write switch case using a double variable?

No. We cannot switch on a value of type double. Only int, strings or enum variables are permitted.

More Related questions...

Show more question and Answers...


Comments & Discussions