vector length java

Solutions on MaxInterview for vector length java by the best coders in the world

showing results for - "vector length java"
Ninon
05 Jan 2019
1import java.util.*;
2class sizeaf
3{
4  public static void main(String args[])
5  {
6    Vector v = new Vector();
7    v.add(1);
8    v.add(2);
9    v.add(3);
10    v.add(4);
11    System.out.println("Size : "+v.size());
12  }
13}