I know this is probably some really stupid question, but I couldn't find anything about it on the internet...
I have to implement an algorithm that sorts a given array. The method call looks like this:
sorter.qsort(array);
The method is static and its return type is void. Now I don't really know how to change the array without some type of notation in this form:
array = sorter.qsort(array);
The array is not type of an object, it's just initialized within the main method.