Can we use range in switch case in Java?

That is, they must be valid integer constant expressions (C standard 6.8. 4.2). Case ranges and case labels can be freely intermixed, and multiple case ranges can be specified within a switch statement .

Sizin İçin Seçtik  Dünyanın en hızlı arabası 0 dan 100 e kaç saniyede çıkıyor?

Leave a Reply

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