### Question:
AList { public int get(int i) { return 0; } AList(); void addLast(int x); int getLast(); int get(int i); int size(); int removeLast();  }### Answer:
@Test public void testGet() { AList L = new AList(); L.addLast(99); assertEquals(99, L.get(0)); L.addLast(36); assertEquals(99, L.get(0)); assertEquals(36, L.get(1)); }