A Java program that returns the frequency of an array of Strings in descending order.