A

Admin • 37.26K Points
Coach

Q. Can you make an array volatile?

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---
  • Correct Answer - Option(A)
  • Views: 140
  • Filed under category JAVA

Explanation by: Admin
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.

Be the first to start discuss.


Question analytics