Java Software Engineer Question:

Do you know how threadsafe is enum in Java?

Java Software Engineer Interview Question
Java Software Engineer Interview Question

Answer:

Creation of an enum is guaranteed to be threadsafe. However, the methods on an enum type are not necessarily threadsafe


Previous QuestionNext Question
Explain me what is a good usecase of calling System.gc()?Tell us why java is not 100% Object-oriented?