-
-
-
-
When is a switch statement better than multiple if statements?
A switch statement is generally best to use when you have more than two conditional expressions based on a single variable of numeric type.
A switch statement is generally best to use when you have more than two conditional expressions based on a single variable of numeric type.
Please Turn OFF your ad blocker
- OR -
LOGIN to continue using GeekInterview website.