Java Taskbook Level 7.7
Create a method that will take a text with words as a parameter and return a text in which these words will be sorted in alphabetical order.
Create a method that takes two arrays as parameters and returns an array of their common elements.
Make a method that will return a random number. The method should not return the same number twice in a row.
Create a method that takes an array as a parameter and returns a new array in which all duplicates that occur more than three times will be removed.