Endava interview question

What is a volatile variable in Java?