Yes a Vector can contain heterogenous objects. Because a Vector stores everything in terms of Object.
[Source: JAGAN MOHAN "Interview questions bible ...
Search results for vector
Considering the basic properties of Vector and ArrayList, where will you use Vector and where will you use ArrayList?
Posted by Devin
The basic difference between a Vector and an ArrayList is that, vector is synchronized while ArrayList is not. Thus whenever there is a possibility of ...
Yes a Vector can contain heterogenous objects. Because a Vector stores everything in terms of Object
[Source: JAGAN MOHAN "Interview questions bible" ...
Vector is synchronized whereas arraylist is not.
[Source: JAGAN MOHAN "Interview questions bible"]
[Source: JAGAN MOHAN "Interview questions bible"]
« previous1 next »
