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  Is Bitcoin token Bitcoin?

Leave a Reply

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