Home / Programming MCQs / JAVA MCQs / Question

M

Mohini Yadav • 17.30K Points
Tutor I

Q. Can you make an array volatile?

(A) True
(B) False
(C) ---
(D) ---
Explanation by: Mohini Yadav
You can only make a variable pointing to the volatile array. If the array is modified by replacing the individual elements, the guarantee provided by the volatile variable will not be retained.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.