Difference between a deprecated and a legacy API?

后端 未结 7 2384
予麋鹿
予麋鹿 2020-11-30 03:22

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

7条回答
  •  孤独总比滥情好
    2020-11-30 03:38

    Deprecation often denotes that there is an intention to remove the functionality at some point in the future, whereas legacy just implies it shouldn't be used in new code if at all possible (though may even then be needed for interop reasons).

提交回复
热议问题