Sort and join equivalent of JS to Java

-4

I know the question is probably very early but they would help me a lot by telling me equivalents of those priorities or methods (I really do not know what they are) in java, thanks.

    
asked by Victor 26.08.2018 в 23:48
source

1 answer

0

To order maybe I'll serve you is

Arrays.sort(array);

link

and to do the join you can use the function of the class

String.join(",", ListOfElements)
    
answered by 27.08.2018 в 06:40