title: Difference between a deprecated and a legacy API?
body: <p>I was studying the legacy API's in the Java's <code>Collection Framework</code> and I learnt that classes such as <code>Vector</code> and <code>HashTable</code> have been superseded by <code>ArrayList</code> and <code>HashMap</code>.</p>
  
  <p>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.</p>