Java Concurrency Pertanyaan dan Jawaban Wawancara
Question: Explain the concept of the volatile keyword in Java.Answer: The volatile keyword ensures that a variable's value is always read and written from and to the main memory, preventing thread-local caching. |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: