Hello Guys, Here I am again with another question. I have been having trouble trying to create and initialize arrays. I need to create a multidimensional array and have tried everything but always got hundreds of error messages. Please can you give me some hints on this? Here is the example I am trying to create:
private String currData[] [] = new String [3] [5];
currData [0] [0] = {" Dollars"};
currData [0] [1] = {" Euros"};
currData [0] [2] = {" Reais"};
currData [0] [3] = new String " Swiss Francs";
currData [0] [4] = new String{" Pounds"};
currData [1] [0] = " Cents";
currData [1] [1] = " Cents";
currData [1] [2] = " Centavos";
currData [1] [3] = " Cents";
currData [1] [4] = " Pence";
currData [2] [0] = " US$";
currData [2] [1] = " "€";
currData [2] [2] = " RS$";
currData [2] [3] = " CHF";
currData [2] [4] = " £";
As you can see, I have tried several ways and it never compiles.
Thanks for any help.