nerdexam
CIW

1D0-437 · Question #51

Consider the following program code: @array = ("ALPHA", "beta", "GaMmA"); @array = sort(@array); print("@array"); What is the output of this code?

The correct answer is B. ALPHAGaMmA beta. See the full explanation below for the reasoning.

Question

Consider the following program code:

@array = ("ALPHA", "beta", "GaMmA"); @array = sort(@array); print("@array"); What is the output of this code?

Options

  • AbetaGaMmA ALPHA
  • BALPHAGaMmA beta
  • CALPHA betaGaMmA
  • Dbeta ALPHAGaMmA

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    74% (20)
  • C
    15% (4)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice