iterate through integer arraylist java code example Example: iterate through a list my_list = ["Hello", "World"] for i in my_list: print(i)