Difference between a Deprecated and Legacy API?

Posted by Vaibhav Bajpai on Stack Overflow See other posts from Stack Overflow or by Vaibhav Bajpai
Published on 2010-05-20T11:36:19Z Indexed on 2010/05/20 12:50 UTC
Read the original article Hit count: 181

Filed under:
|

I was studying the legacy API's in the Java's Collection Framework and I learnt that classes such as Vector and HashTable have been superseded by ArrayList and HashMap.

However still they are NOT deprecated, and deemed as legacy when essentially, deprecation is applied to software features that are superseded and should be avoided, so, I am not sure when is a API deemed legacy and when it is deprecated.

© Stack Overflow or respective owner

Related posts about java

Related posts about collections