What is the array of these statements? Dim intScores As Integer = {78, 83, 75, 90} Array.sort (intScores)

[amp_mcq option1=”{75, 78, 83, 90}” option2=”{78, 75, 90, 83}” option3=”{90, 83, 78, 75}” option4=”Compilation Error” correct=”option1″]

The correct answer is A. {75, 78, 83, 90}.

The Array.sort method sorts the elements of an array in ascending order. In this case, the array contains the following elements:

  • 78
  • 83
  • 75
  • 90

When the Array.sort method is applied to this array, the elements are sorted in ascending order, resulting in the following array:

  • 75
  • 78
  • 83
  • 90

Option B is incorrect because the elements are not sorted in ascending order. Option C is incorrect because the elements are not sorted in ascending order. Option D is incorrect because the code does not compile.