Created
July 19, 2019 04:07
-
-
Save Harshal96/dd0fd907eaf5d65f28faead936b4a3a8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class Test2 { | |
| public static void main(String[] s) { | |
| long st = System.currentTimeMillis(); | |
| List<String> l0 = new ArrayList<String>(); | |
| l0.add("Hello"); | |
| l0.add("World!"); | |
| List<String> l1 = new ArrayList<String>(); | |
| l1.add("Hello"); | |
| l1.add("World!"); | |
| /* snip */ | |
| List<String> l999 = new ArrayList<String>(); | |
| l999.add("Hello"); | |
| l999.add("World!"); | |
| System.out.println(System.currentTimeMillis() - st); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment