Endava Interview Question

What is a volatile variable in Java?