Skip to content

Instantly share code, notes, and snippets.

@raunaqsingh2020
Created April 1, 2020 15:33
Show Gist options
  • Save raunaqsingh2020/a871fad81f515ed85b3b05dd350869e1 to your computer and use it in GitHub Desktop.
Save raunaqsingh2020/a871fad81f515ed85b3b05dd350869e1 to your computer and use it in GitHub Desktop.
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