Answer the question
In order to leave comments, you need to log in
Can you please explain how the System.arraycopy() method works?
Hello dear! There is a task - the ordered record of elements in an array through System.arraycopy (); to further search for elements via binarySearch().
As far as I understand now - this method is designed to copy arrays in a given range; how, then, is the ordered recording / sorting going on here?
Answer the question
In order to leave comments, you need to log in
None. If you copy an unordered array, you get another unordered array.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question