Adobe Flash Question:
Download Questions PDF

In which of the situations bellow would it be best to use a switch statement?

Answer:

A. You need to test for two possible values.
B. You want to test for many possible values
C. You want a loop to run at leats once.
D. You only want one thing to happen if a condition is true.

Download Adobe Flash Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following if statement is correctly writen?Assuming myVar equals "fish", what will be treced by the following code block?