Created
April 1, 2020 15:33
-
-
Save raunaqsingh2020/a871fad81f515ed85b3b05dd350869e1 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
public class SampleRunner | |
{ | |
public SampleRunner() | |
{ | |
ArrayList test = new ArrayList(); | |
test.add(1);test.add(2);test.add(3);test.add(4);test.add(5); | |
test.add(0,10); | |
test.set(1,65); | |
test.remove(2); | |
System.out.println(test.size()); | |
test.print(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment