InterviewSolution
Saved Bookmarks
| 1. |
When Is A Switch Statement Better Than Multiple If Statements? |
|
Answer» A switch STATEMENT is BEST to USE in the case when one have more than two conditional expressions which are based on a SINGLE numeric TYPE variable. A switch statement is best to use in the case when one have more than two conditional expressions which are based on a single numeric type variable. |
|