0 votes
in JAVA by
How can we sort a list of elements in Java?

1 Answer

0 votes
by

How can we sort a list of elements in Java?

The built-in sorting utility sort() can be used to sort the elements. We can also write our custom functions but it’s advisable to use the built-in function as its highly optimized.

Related questions

+2 votes
asked May 13, 2021 in JAVA by rajeshsharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
...