CIW
1D0-437 · Question #87
Which one of the following choices uses the correct syntax for a valid array assignment?
The correct answer is D. @cities = ("Akron"). See the full explanation below for the reasoning.
Question
Which one of the following choices uses the correct syntax for a valid array assignment?
Options
- A@cities =Akron, Memphis, Ogden, Phoenix;
- B@cities =~ ("Akron, Memphis");
- C@cities =~ (Akron, Memphis, Ogden, Phoenix);
- D@cities = ("Akron");
How the community answered
(30 responses)- A7% (2)
- B3% (1)
- C13% (4)
- D77% (23)
Community Discussion
No community discussion yet for this question.