InterviewSolution
| 1. |
What Do You Understand By Enumset? |
|
Answer» The java.util.EnumSet is Set define to use with enum types. All elements are an Enum set must come from only one Enum type that is defined, implicitly and explicitly if the set is created. An Enum set is not synchronized and null elements are not PROVIDED. This method ALSO provides some useful methods such as copyOf that means (Collection C) and of(E first, E…rest) or complementOf(EnumSet s). The java.util.EnumSet is Set define to use with enum types. All elements are an Enum set must come from only one Enum type that is defined, implicitly and explicitly if the set is created. An Enum set is not synchronized and null elements are not provided. This method also provides some useful methods such as copyOf that means (Collection c) and of(E first, E…rest) or complementOf(EnumSet s). |
|