Last active
July 29, 2018 15:47
-
-
Save samfcmc/4666c9273913ead5fb51f530e9c51217 to your computer and use it in GitHub Desktop.
Instantiatig an Array List with a capacity argument
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
int capacity = 20; | |
List myList = new ArrayList(capacity); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment