How can I iterate through two arrays at the same time without nested for loops in Java ? In pseudo code, it would be:
for each colorname in listOfColourNames and for each colorcode in listOfColourCodes
{
print (colorname + " : " + colorcode);
}
Is that even possible to do this in Java ?