+ 1
How does the break keyword work ?
some explain to me how the break keyword works and whats its purpose , when and where i should use it.!
1 Antwort
+ 2
break is usually used in switch cases to control the follow of execution ,if we use break in some case say case 1 then if tht case gets executed then control comes out of switch else after Executing case 1 successive cases also gets executed