Can we use condition in switch case in Java?

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

Sizin İçin Seçtik  Fiat yüzde kaç yerli?

Leave a Reply

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