Can switch statement have same cases?

The switch statement can include any number of case instances . However, no two constant-expression values within the same switch statement can have the same value.

Sizin İçin Seçtik  What does enum valueOf return?

Leave a Reply

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