Which data type variable can be used in switch statement?

The variable used in a switch statement can only be a short, byte, int or char . The values for each case must be the same data type as the variable type.

Sizin İçin Seçtik  Is Django a good framework 2021?

Leave a Reply

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