/FileExtraction/Java_unseen/infotechprogrammer_learn-java-programming/_11_Arrays/VectorProgram.java
package com._11_Arrays;

import java.util.Vector;

public class VectorProgram {
    public static void main(String[] args) {
        Vector list = new Vector();
        int length = args.length;
        for(int i = 0; i< length; i++) {
            list.addElement(args[i]);
        }
        int size = list.size();
        list.insertElementAt("COBOL",2);
        String listArray[] = new String[size];
        list.copyInto(listArray);
        System.out.println("List of Languages");
        for(int i = 0; i < size; i++) {
            System.out.println(listArray[i]);
        }
    }
}
