Question: in java run through eclipse /** * Given a 2D array of characters, returns a string consisting of all the characters * in column-order, that
in java run through eclipse
/** * Given a 2D array of characters, returns a string consisting of all the characters * in column-order, that is, one column at a time, going from left to right. * * For example, * * hlo * el! * * returns the string "hello!" * * @param data rectangular 2D array. * @return a single string made of all the characters in each column. */ public static String stringFromColumns(char[][] data) { return "replace this"; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
