1

Possible Duplicate:
Why Java Vector class is considered obsolete or deprecated?

Also, is there an official word from Sun/Oracle on that?

Thanks.

EDIT: I'm aware of the other topic, but it didn't mention whether there was an official word on this, which is why the topic is worded as "widely believed". Plus, that topic addresses only the Vector, not the Hashtable.

Community
  • 1
  • 1
user183037
  • 2,549
  • 4
  • 31
  • 42
  • 1
    I'd really like to try and understand why this was "closed as exact duplicate" - I believe I've given fair reasons as to why it's not. – user183037 Jan 26 '11 at 08:56

1 Answers1

0

Vector is synchronized; usually you don't need this as it incurs serious overhead. Hashtable is also synchronized and can't reasonably store nulls.

People use various Lists and HashMap instead.

9000
  • 39,899
  • 9
  • 66
  • 104