Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Legacy Methods

 
Santosh Jagtap
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Can anybody tell me what are the legacy methods in java?and why they are called legacy methods?

Thnks
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at Thread, there is many deprecated methods.
 
Santosh Jagtap
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then why vector is called to be a legacy class?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A "legacy" class, or method, or system, means something that you're stuck with from the past that, if you could start over from the beginning, you'd get rid of. The Vector and Hashtable classes have been superseded by the newer, better ArrayList and HashMap classes, but Vector and Hashtable are still supported so old code can run. But you shouldn't use them in new code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic