What is EnumSet in Java?
Answers
Answered by
0
EnumSet is one of the specialized implementation of Set interface for an enumeration type, introduced in Java 1.5 along with enumeration type itself. Programmer often stores Enum into common collection classes e.g. HashSet or ArrayList, mostly because they are unaware of this little gem.
that's your ans
that's your ans
Similar questions