In a switch statement, what is used to match multiple values to a single case?

  • case
  • :
  • break
  • comma operator
In a switch statement, you can use the 'case' keyword to match multiple values to a single case, allowing multiple values to execute the same block of code.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *