• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
0

How can I make a volatile array?

Tip: "It's possible to make an array volatile" I want to know how can I do this. Edit: What's its functions and advantages?

javaarrayvolatile
22nd Aug 2019, 8:45 AM
Amir01
Amir01 - avatar
2 Respostas
+ 2
You can see this link https://javarevisited.blogspot.com/2017/01/can-we-make-array-volatile-in-java.html
22nd Aug 2019, 8:48 AM
Uchiha Itachi
Uchiha Itachi - avatar
+ 1
Use an AtomicReferenceArray. https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReferenceArray.html
22nd Aug 2019, 8:49 AM
Hatsy Rei
Hatsy Rei - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Hofstadter a sequence code coach is not running
0 Votes
Vote Code
1 Votes
Data structure using C
0 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Html learn
1 Votes