Adobe Flash Question:
Download Questions PDF

Which of the following if statement is correctly writen?

Answer:

A. if firstName = "ABC" then {};
B. if {firstName = "ABC"} then ();
C. if(firstName == "ABC") {};
D. if(firstName = "ABC" || lastName="abc") {};

Download Adobe Flash Interview Questions And Answers PDF

Previous QuestionNext Question
Function can be assigned to identiires at runtime. Assuming sampleVar equals true, what will be returned by the following function?In which of the situations bellow would it be best to use a switch statement?