What's the connection between Array class and.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the connection between Array class and..

Why does Array.sort(myArray) change the actual array I put into the method what connection does Array class have on String[] ={"a","c","b"} are they one of the same thing or somthing? I managed to see this by printing the elements in the array after it was sorted using enhanced for loop, thanks

9th Dec 2020, 4:50 PM
Nobody
Nobody - avatar
0 Answers