public class Sample {
public static void main(String[] args) {
String names[][] = {
{ "Jasmine", "jasmine123" },
{ "lyka", "lyka123" },
{ "marbie", "marbie123" }
};
for (int row = 0; row < names.length; row++) {
for (int col = 0; col < names[row].length; col++) {
System.out.println(row + ":" + col);
}
System.out.println();
}
}
}