What does arrays sort do in java?



What does arrays sort do in java?..

Answer / Bhanu Bairwa

Arrays.sort(array) in Java sorts the elements of an array based on their natural order (ascending).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is Thread priority?

4 Answers   Tech Mahindra, Wipro,


Does printwriter create a file?

1 Answers  


What is module in project?

1 Answers  


How does regex work?

1 Answers  


What is independent and dependent variables in research?

1 Answers  


What is meant by method overriding?

1 Answers  


what is marker interface ? what is the necessity of it?

5 Answers   Accenture, Newgen,


What is anti pattern in java?

1 Answers  


What is math exp in java?

1 Answers  


What are the different approaches to implement a function to generate a random number?

1 Answers   Axtria, ITC Indian Tobacco Company,


How can u increase the heap size in the memory?

1 Answers   Infosys,


Do I need java on my computer?

1 Answers  


Categories