Question: (3 points) What is the output public static void main(string) args) { String students Caleata, Ayse, Mehmet,Asta) int) grade - (07,93,50,71,02, 87) int i). First,
(3 points) What is the output public static void main(string) args) { String students Caleata, "Ayse", "Mehmet","Asta) int) grade - (07,93,50,71,02, 87) int i). First, tempi String ton21 for (i grade. Length - 11 10 ) first : for ( 11 ) J++) if (grade) > grade first) first > tenpgrade first: grade first = grade (1): grade [1] - tep: temp2 students first): students first students[1]: studentstil teep: > System.out.println(Arrays.toString students)): ) Your answer: O Fatma, Ayse, Mehmet Asli, All, Veli [Fatma Ayse All Mehmet, Vell, Asli [Vell. Asli. Ali, Mehmet Ayse. Fatma) [Vell, Mehmet. Fatma Asli, Ayse, Ali Clear
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
