Is it possible to make an array volatile in java?
Answer / Sangeeta Maurya
In Java, there's no concept of a 'volatile' array. However, you can use the 'volatile' keyword for variables to ensure that the variable is always synchronized with main memory and not cached by the processor.
| Is This Answer Correct ? | 0 Yes | 0 No |
How will you reverse Linked List.
Is learning data structures necessary?
What is an expression tree?
In which data structure, elements can be added or removed at either end, but not in the middle?
42 Answers Infosys, NIC, TTA, Wipro,
What do you mean by breadth first search (bfs)?
What is a hash in programming?
What does abstract data type means?
23 Answers College School Exams Tests, Infosys, SBIT, TCS,
Does treeset allow duplicates?
What is return map?
Can hashmap have duplicate keys?
Can we null keys in treemap?
What is copyonwritearraylist?