i need to compare.... if (arr[k][2]==arr2[k][0]) { System.out.println(arr2[k][1]); } how do i manage the iterations for k? the array sizes are different..... please help.... [ June 15, 2006: Message edited by: catherine matthews ]