Driver code
public static void main ( String [ ] args ) { Integer arr [ ] = { 200 , 10 , 5 } ; Vector v = new Vector ( Arrays . asList ( arr ) ) ; int n = v . size ( ) ; System . out . println ( maxSize ( v , n ) ) ; } }