Created
January 14, 2021 16:33
-
-
Save anjanashankar9/5169df0b8e7c9cb63c21ecf3da961251 to your computer and use it in GitHub Desktop.
Collections for iteration in java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Integer> numbers = new ArrayList<>(); | |
numbers.add(1); | |
numbers.add(2); | |
numbers.add(3); | |
numbers.add(4); | |
numbers.add(5); | |
numbers.add(6); | |
numbers.add(7); | |
numbers.add(8); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment