Vectors are also serialized....hashtables not.
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]] 

> Sent: Tuesday, January 21, 2003 11:29 AM

> To: 'Struts Users Mailing List'

> Subject: RE: [OT] Not spam...I swear--

> 

> 

> So...what IS the difference?

Well, for one thing, trying to do "vectorInstance.put(key, value);"

won't compile :-)

Vectors are ordered lists, Hashtables (or HashMaps as they are commonly

invoked in Java) are key/value association tables.

This concludes today's Java 101.






---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to