Examveda
Examveda

What is the purpose of the Arrays.sort() method in Java?

A. To find the maximum element in an array.

B. To search for an element in an array.

C. To sort the elements of an array.

D. To reverse the elements of an array.

Answer: Option C


This Question Belongs to Java Program >> Array

Join The Discussion

Related Questions on Array