Menu

(Solved) : User Input File Characters Java Code Would Take Characters Store Double Array Example Publ Q37286479 . . .

User input a file of characters. What is a javacode that would take those characters and store them as a doublearray?

example:

public static char[][] arrayFill()

This method will create and return atwo dimensional character array. This method will prompt the userfor the name of a data file which will be opened and read into thearray the file is formatted as a series of single charactersseparated by spaces.

4 4 a h n m v e y t s w q p b m fi

The two integers represent the numberof rows and columns. This example would be stored in the arrayas:

ahnmveytswqpbmfi

Expert Answer


Answer to User input a file of characters. What is a java code that would take those characters and store them as a double array? …

OR