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

  • (A) transient
  • (B) volatile
  • (C) global
  • (D) No modifier is needed
πŸ’¬ Discuss
βœ… Correct Answer: (B) volatile

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
223
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Jatin Dubey
Publisher
πŸ“ˆ
84%
Success Rate