Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class TimerTest {
- public static void main(String[] args) {
- ArrayList someList = new ArrayList();
- ArrayList<Integer> intList = someList;
- intList.add(20);
- System.out.println(intList);
- someList.add("foo");
- System.out.println(intList);
- }
- }
Add Comment
Please, Sign In to add comment