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"); } } } }
Ads