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
Collection Framework
Vector
HashTable
The Deprecated annotation gives a formal definition of a deprecated API. I don't think that a formal definition for legacy classes exists. Both actually mean that the class shouldn't be used in new code.