I was coding midway when I find out that netbeans give me an error regarding the below code:
String [][]table={getRowArray()};
//getRowArray() will return me a 1D string array
Is there any way to store the 1D array returned by my method into the 2D array directly instead of using a for loop? Thanks for any help rendered!
getRowArray()?