Social Sciences, asked by rpmandewal2133, 1 year ago

What is the result of the following when called as java counting.binary? package counting; import java.util.*; public class binary { public static void main(string... args) { arrays.sort(args); system.out.println(arrays.tostring(args)); } }?

Answers

Answered by dchitra10
0

Answer:

public static void sort(int[] arr, int from_Index, int to_Index)

arr - the array to be sorted

from_Index - the index of the first element, inclusive, to be sorted

to_Index - the index of the last element, exclusive, to be sorted

This method doesn't return any value.

Modified arr[] : [6, 7, 9, 13, 21, 45, 101,

Similar questions