What is Volatile Keyword In Java
Answers
Answered by
0
Answer:
Volatile Keyword in Java. Volatile keyword is used to modify the value of a variable by different threads. It is also used to make classes thread safe. It means that multiple threads can use a method and instance of the classes at the same time without any problem.
Explanation:
Plz mark me as brainliest
Similar questions
English,
5 months ago
Geography,
10 months ago
Math,
10 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago