Asked in
Computer Programming
Algebra
C++ Programming

Using vector to add objects and display their member variables?

Answer

User Avatar
Wiki User
February 18, 2008 9:00AM

import java.util.Vector; suppose-:::: test t=new test(); /**this is how we add elements to vector*/ Vector v=new Vector(); v.addElements(t);