Computer Science, asked by lakshyajaiswal62, 1 month ago

Give an example of fall through in Java​

Answers

Answered by aviralkachhal007
2

When the variable being switched on is equal to a case, the statements following that case will execute until a break statement is reached. When a break statement is reached, the switch terminates, and the flow of control jumps to the next line following the switch statement. Not every case needs to contain a break.

Answered by kishorbhadra432
2

Hi friend how are you

I think this is helpful for you

Attachments:
Similar questions