Question: The red circle question only. Please explain the anwser. 22. When applied to an array al ] of integers, the pseudo code boolean sort true
22. When applied to an array al ] of integers, the pseudo code boolean sort true int k = 0 while sorttrue and k alk+1] Then sort false k k+1 A) will sort the array al in ascending (nondecreasing) order will sort the array a[] in descending (nonincreasing) order C) will determine if the array is arranged in ascending order will determine if the array is arranged in descending order 23.when you create an instance of a generic class, what types c an you pass as arguments for the class - pe parameters? A) primitive types only ject references only C) interface types only primitive, reference, and interface types 24. In a binary search, A) it is assumed that all of the elements are integers. B) it is assumed that all of the elements are Strings C) it is assumed that the search pool is small. D) it is assumed that the search pool is ordered. E) it is assumed that the search pool is large. 25.lf al ] is an array of integers, the pseudo code int m 1 While m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
