Search Interview Questions
| 2807 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Advanced level question usually asked to senior developers , leads and architects.|
|Ans. Volatile is an instruction that the variables can be accessed by multiple threads and hence shouldn't be cached. As volatile variables are never cached and hence their retrieval cannot be optimized.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve java java keywords volatile synchronization compiler optimization variable caching architecture Embedded security Driver engineer Sokrati expert|