nerdexam
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)
  • A
    7% (2)
  • B
    3% (1)
  • C
    13% (4)
  • D
    77% (23)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice