
how to Insert Array Values Into Separate Rows using java?

class InsertArrayValuesInSeparateRow{
public static void main(String[] args)
{
String array[][]={{"1","Angel","Delhi"},{"2","John","Chennai"},{"3","William","Kolkata"},{"4","Martina","Mumbai"}};
for(int i=0 ; i < array.length ; i++){
System.out.println();
for(int j=0 ; j < array[i].length ; j++){
System.out.print(array[i][j]+"\t");
}
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.