Java Software Engineer Question:

Do you know how threadsafe is enum in Java?

Tweet Share WhatsApp

Answer:

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

Download Java Software Engineer PDF Read All 45 Java Software Engineer Questions
Previous QuestionNext Question
Explain me what is a good usecase of calling System.gc()?Tell us why java is not 100% Object-oriented?