Can we use contains in switch-case Java?

You can’t switch on conditions like x. contains() . Java 7 supports switch on Strings but not like you want it. Use if etc.

Sizin İçin Seçtik  Are method names case-sensitive Java?

Leave a Reply

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

Can we use contains in switch case Java?

You can’t switch on conditions like x. contains() . Java 7 supports switch on Strings but not like you want it. Use if etc.19 Tem 2012

Sizin İçin Seçtik  What is mobile frontend?

Leave a Reply

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