What are exactly mean by legacy ??i.e; what are legacy classes?

Questions by ketan_ghole

Showing Answers 1 - 4 of 4 Answers

Ajay Kumar

  • Feb 24th, 2006
 

legacy means synchronization.It is the concept of collection framework (utill package).for example: vector , HashTable, etc are legacy classes( synchronized classes)Synchronized classes gives concept of thread safe means if so many request is coming to access a single resources then it will lock all request except first request and will do process one by one with sequence order (FIFO).

Shunmuga

  • Feb 27th, 2006
 

No, in general , leagacy defines a system that was built using older , more complicated technology,  that are now harder to maintain.

Thiru

  • Jul 10th, 2006
 

Collections have made some Java objects and one interface obsolete. These older legacy structures have not be removed as much legacy code, even in Java itself make use of them. However new programs should be written with collections. The following legacy classes and interface are mentioned here for historical purposes only!

?Enumeration [interface] - Use Iterator?Dictionary - Use Map
?Vector - Use ArrayList?Stack - ?Hashtable - Use HashMap

  Was this answer useful?  Yes

bhavya joshi

  • Jul 22nd, 2015
 

Legacy classes are those classes which are deprecated,which are older and hence they are replaced with new ones.for eg: Enumeration is a legacy class and is superseded by Iterator.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions