Can we give condition in switch case in Java?

No. It’s not possible because a case must be a constant expression.

Sizin İçin Seçtik  * * 4636 * * Nedir?

Leave a Reply

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