Q. Which of the following modifiers can be used for a variable so that it can be accessed by any thread or a part of a program?

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
235
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Vishal Gupta
Publisher
πŸ“ˆ
88%
Success Rate