This is a very big question. I have solved all of them. Please give me an upvote dear, Much Appreciated.!!   i have uploaded all required submission file use below link to download it. https://mega.nz/file/TMM3nCgK#w8pWpq1bkoP_QaW8UCWqunwKkibkN2LPcSzDuWUpHeU     Code: import java.util.Arrays; import java.util.Scanner; public class Main { public static void prinWordFrequency (String text) { text = text.toLowerCase (); String arr[] = text.split (" "); Arrays.sort (arr); String[] words = new String[arr.length]; int[] counts = new int[arr.length]; words[0] = arr[0]; counts[0] = 1; for (int i = 1, j = 0; i < arr.length; i++) { tif (arr[i].equalsIgnoreCase (words[j])) t { t counts[j]++; t } telse t { t j++; t words[j] = arr[i]; t counts[j] = 1; t } } for (int i = 0; i < words.length && words[i] != null; i++) { tSystem.out.println (words[i] + " " + counts[i]); } } public static void main (String[]args) { Scanner sc = new S ... See the full answer