Example & Tutorial understanding programming in easy ways.

What is legacy class in java ?

Early versions of java did not include Collections framework. Instead it defined several classes and one interface to store objects. When collection came these classes reengineered to support the Collection interfaces. These old classes are known are legacy classes.
 Following are the Legacy classes defined by Java.util package
 1 Dictionary
 2 HashTable
 3 Properties
 4 Stack
 5 Vector
 There is only one legacy Interface called Enumeration.

Read More →