Code example for Vector

Methods: elements

0
     * Return an enumeration of the names of context initialization 
     * parameters. 
     */ 
    public Enumeration getInitParameterNames() {
 
        return (new Vector().elements());
 
    } 
 
 
    /** 
     * Return the Servlet API major version number. 
     */ 
    public int getMajorVersion() { 
 
        return (2); 
 
    } 
 
 
    /**