Which data type Cannot be used in switch Java?

The switch statement doesn’t accept arguments of type long, float, double,boolean or any object besides String .

Sizin İçin Seçtik  Which is better Java or JavaScript?

Leave a Reply

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