Hi, all
When compile and run this:
import java.util.*;
public class Q5 {
public static void main (
String[] args) {
Q5 obj = new Q5();
Vector vectorDemo = new Vector(10);
Vector vectorDemo1 = new Vector();
System.out.print(vectorDemo.size() + ",");
System.out.print(vectorDemo.capacity() + ",");
System.out.print(vectorDemo1.size() + ",");
System.out.print(vectorDemo1.capacity());
}
}
the capacity of vetordemo1 give 10 ?

10 is the default capacity ? Some comments ?
Thx in adv