Can you have an ArrayList of enums?

You can create a list that holds enum instances just like you would create a list that holds any other kind of objects: ? List<ExampleEnum> list = new ArrayList<ExampleEnum>(); list.

Sizin İçin Seçtik  What do you do in backend development?

Leave a Reply

Your email address will not be published. Required fields are marked *