Excecute multiple arrays in one line?

That’s actually a thing in Python, but the closest thing you’re going to get in Java is a for-each loop: https://www.geeksforgeeks.org/for-each-loop-in-java/

2 Likes