1

Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?

Correct Answer: volatile

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program? | Extra Education