Java program that creates a one dimensional array. You must ask the user for the size of the array. Populate the array with random words of 4 character each. Sort the array and print the array elements both in an ascending and descending order
Take the program you have written in part 1 and create MyArray class and a TestMyArray class