Assume an array is defi ned as int[] nums = {7, 15, 23, 5};. Which of the following would place the values in the array in descending numeric order? a. Array.Sort(nums); b. Array.Reverse(nums); c....


Assume an array is defi ned as int[] nums = {7, 15, 23, 5};. Which of the following would place the values in the array in descending numeric order?


a. Array.Sort(nums);


b. Array.Reverse(nums);


c. Array.Sort(nums); Array.Reverse(nums);


d. Array.Reverse(nums); Array.Sort(nums);



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here