There's only a 2 possible values, therefore a 2d boolean array will work perfectly fine (not to mention that the problem specifically says to represent the contents of a 2d boolean array as such
).
You say you can't get it, what did you mean by that statement? Are your outputs wrong? Or are you getting an exception/compile error? If so, please post the message.
One thing I can see right away is that you're printing out each element on it's own line. You might want to consider using
System.out.print to print out a row, then use an empty
System.out.println to advance to the next row.