Methods :
- hasMoreElements()
- nextElement()
Limitation of Enumeration Interface
- Only applicable for legacy classes i.e Vector and Stack
- No remove capability on Enumeration(It is readonly)
To overcome these limitation we go for Iterator
Scripting is sorcery
Methods :
Limitation of Enumeration Interface
To overcome these limitation we go for Iterator