{ 75, 78, 83, 90}
{ 78, 75, 90, 83 }
{ 90, 83, 78, 75 }
Compilation Error
Answer is Wrong!
Answer is Right!
The correct answer is C. {90, 83, 78, 75}.
The Array.reverse()
method reverses the order of the elements in an array. In this case, the array has four elements, so the order of the elements will be reversed as follows:
- 90
- 83
- 78
- 75
Option A is incorrect because the elements are not in the correct order. Option B is incorrect because the elements are not in the correct order. Option D is incorrect because the code will not compile.