The switch block tests each case expression until one of them is true. When case expression == switch expression for numbers, a case is true.
A switch statement is a control statement that runs a set of logic based on the result of comparing a controlling expression to the labels given in the switch block.
The break statement completes a for or while loop. Use a continue statement to skip the rest of the loop's instructions and start the following iteration. Outside of a for or while loop, break isn't defined. Return is used to leave a function.
Learner's Ratings
4.7
Overall Rating
82%
9%
5%
0%
4%
Reviews
H
Habib Ullah
5
its a great job. i like it. thanks so much for this course.
H
Het PATEL
5
best video ever , thanks sir ,thanks learnvern
S
Souvik Poddar
5
excellent
A
Ayush Sinha
5
It's a great course, the curriculum is ideal. Very helpful too.
S
Sanjid Ahmed Sany
5
Excellent explanation sir.
S
Sanjid Ahmed Sany
5
Excellent explanation sir.
A
Akash Gupta
5
Excellent
N
Navin Kumar
5
Why payment processing time show technical difficulties.
Share a personalized message with your friends.