import java.util.*;
public class Test {
public static void main(String[] args) {
List buf = new ArrayList(2);
System.out.print(buf.size());
buf.add(10);
System.out.print(buf.size());
buf.add(20);
buf.add(30);
System.out.print(buf.size());
}
}
Login in to like
Login in to comment