5 years ago in Java Multithreading

Which of the following is used to force each thread to reconcile its working copy of a variable with the master copy in main memory?

[A] synchronized
[B] transient
[C] volatile
[D] native
Loading...
Next Question

Overall Stats

Attempted 260
Correct 49
Incorrect 97
Viewed 114

Answers

Guest
Guest
Pujitha Sri
Pujitha Sri - 2 months ago

Pujitha Sri is saying synchronized is correct answer

Poorna Hari priya Muttamsetty
Poorna Hari priya Muttamsetty - 3 months ago

Poorna Hari priya Muttamsetty from Vijayawada, India is saying synchronized is correct answer

rayapudi saiteja
rayapudi saiteja - 3 months ago

rayapudi saiteja from Visakhapatnam, India is saying synchronized is correct answer

Priya Pallevari
Priya Pallevari - 4 months ago

Priya Pallevari is saying transient is correct answer

Sharvani Reddy Thummala
Sharvani Reddy Thummala - 5 months ago

Sharvani Reddy Thummala is saying transient is correct answer

Related Questions

Which of these class is used to make a thread?

  • [A] String
  • [B] System
  • [C] Thread
  • [D] Runnable

Which of these interface is implemented by Thread class?

  • [A] Runnable
  • [B] Connections
  • [C] Set
  • [D] MapConnections

What will happen if two thread of same priority are called to be processed simultaneously?

  • [A] Any one will be executed first lexographically
  • [B] Both of them will be executed simultaneously
  • [C] None of them will be executed
  • [D] It is dependent on the operating system.