NB: All code given is Java code

I have declared my variable as follows:

String [][] agent = new String[][];

I have populated the array successfully.

I now want to print the contents of my array side by side as agent[0][0] to give me an output like: Eddy 0.8 where Eddy is in the row and 0.8 is in the column.

Thank you guys!