Can I use String in switch case in Java?

Yes, we can use a switch statement with Strings in Java .5 Tem 2019

Sizin İçin Seçtik  How do you write a switch case for a string in C++?

Leave a Reply

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