Question: In java. Also, let me know if you need the class needed for my.utils on #10 10. // receives: an array of String values 1/


In java. Also, let me know if you need the class needed for my.utils on #10
10. // receives: an array of String values 1/ returns: a String array containing copy of received String array with each element properly formatted using // the properFormat method found in MyUtils class // example: String [] myNames = { " Joe Garza "Joey ","JOEY", "JOE", "ANNa MaRIA", "MARIA"}; returned array contents: {"Joe Garza", "Joey", "Joey", "Joe", "Anna Maria", "Maria"}; // Example call: String [] result = formatStrings (myNames); 1/1/ receives: an array of String values 1/ returns: a String array containing copy of String array with each element properly formatted using // the properFormat method found in MyUtils class 17 creates a copy of the String array received a new array with same values in it is returned) // example: String [] myNames = { " Joe Garza "Joey ","JOEY", "JOE", "ANNa MaRIA", "MARIA"}; // returned array contents: {"Joe Garza", "Joey", "Joey", "Joe", "Anna Maria", "Maria"}; // Example call: String [] result - formatStrings (myNames); public static String [] createFormattedStringArray (String [] array) 9. // receives: 2 integer arrays // returns an integer array with the sum of both array values per row. // both arrays received are added, returned array is same as length of longest of 2 received arrays // note: here is how to create an int [] array of length : // int [] retValue = new int [0]; // Example call #1: // Example call #2: 1/ Example call #3: public static int [] getArraySum(int [] array, int [] array2) 10. // receives: an array of String values // returns: a string array containing copy of received String array with each element properly formatted using // the properFormat method found in Myutils class // example: String [] myNames = { " Joe Garza "Joey ","30EY", "308", L'ANNa MaRIA", "MARIA"); // returned array contents: {"Joe Garza", "Joey", "Joey", "Joe", "Anna Maria", "Maria"}; // Example call: String [] result = formatStrings (myNames); 1/// receives: an array of String values // returns: a string array containing copy of String array with each element properly formatted using // the proper Format method found in MyUtils class // creates a copy of the String array received (a new array with same values in it is returned) // example: String [] myNames = { " Joe Garza "Joey ", "JOEY", "JOE", "ANNa MaRIA", "MARIA"}; // returned array contents: {"Joe Garza", "Joey", "Joey", "Joe", "Anna Maria", "Maria"}; // Example call: String [] result = formatStrings (myNames); // public static String [] createFormattedStringArray (String [] array)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
