Can we use characters in switch case?

You can use char ‘s for the switch expression and cases as well .

Sizin İçin Seçtik  Can Switch case be used for strings in Java?

Leave a Reply

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