Can we use while in switch case?

Yes a switch statement can be used inside a loop . To give an example of this, suppose you have the following Java code with an if ladder inside a do… while loop which iterates while the variable num is less than eight: do {

Sizin İçin Seçtik  Tesla da vites var mı?

Leave a Reply

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