Write a method called stringLengths that takes in a String[] and returns an ArrayList containing the lengths of the strings in the array in corresponding indexes (i.e., index 0 of the ArrayList contains the length of the String in index 0 of the array). Basic Java code, please.