Write a program that uses the sort method in the Java Arrays class to sort the elements

Question:

Write a program that uses the sort method in the Java Arrays class to sort the elements in an array of String elements in alphabetical order. Use this array:

String[] friends {

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: