I have two arrays:
name[] and roll[]
Is there a way to move both arrays one at a time for each loop. The size of both arrays remains unchanged.
I know that with the help of two separate loops we can move and insert into one and that it is not very important, but I want something like this:
for(String n:name,int r:roll){
}
I'm sorry, thanks ..... Ankur
source
share