What is EnumSet?

devquora
devquora

Posted On: Feb 22, 2018

 

EnumSet is basically used for coding purposes. Where there are a set of words that have the same meaning and can be denoted by a single word. Like for example, there are a set of words that consists of words like red, green, yellow, blue. These all words can be denoted by a single word which can be easily denoted by a single word like Colours. It is basically of high performance and is really reliable.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    NIIT Technologies Java Interview Questions

    What is abstraction?

    Abstraction is basically used to separate the useless data from the essential ones. Only the important things that need to be shown to the users are only being exposed. Here in these issues, the users...

    NIIT Technologies Java Interview Questions

    What is the difference between left and right outer join?

    The difference between the left and right outer join is as follows:S. N. Left Join Outer Join1 A left outer join provides the table in the FROM clause whose all rows are returned....

    NIIT Technologies Java Interview Questions

    Explain how HashMap works?

    HashMap in Java works on hashing principles. Hashing is a process in which hash functions are used to link key and value in HashMap....