Can a switch case have multiple values?

The switch can includes multiple cases where each case represents a particular value . Code under particular case will be executed when case value is equal to the return value of switch expression. If none of the cases match with switch expression value then the default case will be executed.

Sizin İçin Seçtik  Askerde denizciler ne giyer?

Leave a Reply

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

Can a switch case have multiple values?

The switch can includes multiple cases where each case represents a particular value . Code under particular case will be executed when case value is equal to the return value of switch expression. If none of the cases match with switch expression value then the default case will be executed.

Sizin İçin Seçtik  Tenisinin kuralları nelerdir?

Leave a Reply

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