Answer:
Arrays.sort(examScores);
Step-by-step explanation:
The line of code above will sor the array using the sort method from the java.util.Arrays.
The complete java code showing the importation of the class as well as creating the array examScores[] with 1000 elements is shown below:
import java.util.Arrays;
public class num5 {
public static void main(String[] args) {
int [] examScores = new int[1000];
Arrays.sort(examScores);
}
}