Switch statement provides easy way to dispatch execution to different parts of code - Core Java
Q. Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an expression?- Published on 21 Jul 15a. If
b. Switch
c. Nested-if
d. if-else-if
ANSWER: Switch