Which one of the following is more efficient multiway branch approach in Java?
A. switch
B. if
C. else if
D. if-else-if
Answer:A
Which one of the following is more efficient multiway branch approach in Java?
A. switch B. if C. else if D. if-else-if