3:42 pm - Friday November 18, 9661

Tag Archives: Vector clear java

Vector Example Program for clear()

/** @ AUTHOR:Candid java.com @ DESCRIPTION:coding for clear the elements in the vector */ import java.util.Vector; class Clear { public static void main(String[] args) { Vector v = new Vector(); v.add("One"); v.add("Two"); v.add("Three"); v.add("Four"); v.clear(); System.out.println("Size...