permaculture playing cards
The moose likes Java in General and the fly likes Legacy Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Legacy Methods" Watch "Legacy Methods" New topic

Legacy Methods

Santosh Jagtap

Joined: Sep 20, 2004
Posts: 23
Can anybody tell me what are the legacy methods in java?and why they are called legacy methods?


David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Look at Thread, there is many deprecated methods.

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Santosh Jagtap

Joined: Sep 20, 2004
Posts: 23
then why vector is called to be a legacy class?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

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.

[Jess in Action][AskingGoodQuestions]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Legacy Methods
It's not a secret anymore!