Collections, arrays. One example program.
AnswerBot
1y
Program to sort an array of strings using Collections
Create an array of strings
Use Arrays.asList() to convert array to List
Use Collections.sort() to sort the list
Convert the sorted list back to array ...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Java Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app