Pergunta de entrevista da empresa CA Technologies

What does the keyword "volatile" mean in Java? What purpose does it serve?

Resposta da entrevista

Sigiloso

24 de out. de 2017

It is related to memory management and synchronization. A volatile variable is just like a synchronized method.