Java Software Engineer Question:
Do you know how threadsafe is enum in Java?
Answer:
Creation of an enum is guaranteed to be threadsafe. However, the methods on an enum type are not necessarily threadsafe
Previous Question | Next Question |
Explain me what is a good usecase of calling System.gc()? | Tell us why java is not 100% Object-oriented? |