adplus-dvertising
frame-decoration

Question

For using multiple possible branches based on a single value which branching style do you prefer?

a.

If statements

b.

Switch statements

c.

While statements

d.

Do while statements

Posted under PHP

Answer: (b).Switch statements

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For using multiple possible branches based on a single value which branching style do you prefer?