Vidyalelo
Java Programming · Q72

Input Output

Programming · Java Programming · question 72

Q72

Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?

A.
transient
B.
volatile
Answer
C.
global
D.
No modifier is needed

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board