Hi Everyone i'm trying to fill 2d arrays in java with 0's and 1's. The 1's will represent white and 0 represent black. I would like to have one 2d array for every char in alphabet a to z example:
String[][] myArray = {//letter A
{"0", "0", "1", "0", "0"},
{"0", "1", "0", "1", "0"},
{"1", "1", "1", "1", "1"},
{"1", "0", "0", "0", "1"},
{"1", "0", "0", "0", "1"},};
is there a quick way to do it. my 2d array need to be 22 by 16

jgthe baseline is not the bottom line. And you should wonder whether the horizontal and vertical spacings or included in the 16x22 matrix...