PrepAway - Latest Free Exam Questions & Answers

Which statement could she use as a more efficient method?

Selena needs to check an expression against a range of values, and her PHP code uses many
elseif and if commands. Which statement could she use as a more efficient method?

PrepAway - Latest Free Exam Questions & Answers

A.
Theendif statement coupled with each elseif

B.
The switch statement

C.
The <OPTION> statement

D.
The //switch variable// command


Leave a Reply