I have two arrays :
name[] and roll[]
Is there a way to traverse both arrays in one for each loop.Size of both arrays remain the same.
I know using two individual loops we can traverse and infact in one also its not a big deal, but I want something like this:
for(String n:name,int r:roll){
//blah blah
}
Please shed some light thanks..... Ankur