6 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

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 275
Correct 51
Incorrect 103
Viewed 121

Answers

Guest
Guest
Muziwandile
Muziwandile - 4 months ago

Muziwandile from Modimolle, South Africa is saying volatile is correct answer

atish lohade
atish lohade - 9 months ago

atish lohade from Aurangabad, India is saying volatile is correct answer

Didier MUNEZERO
Didier MUNEZERO - 9 months ago

Didier MUNEZERO from Kigali, Rwanda is saying synchronized is correct answer

Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying synchronized is correct answer

Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying synchronized is correct answer

Related Questions

Which of these are types of multitasking?

  • [A] Process based
  • [B] Thread based
  • [C] Process and Thread based
  • [D] None of the mentioned

Which of these interface is implemented by Thread class?

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