Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?
Posted: Wed Jul 13, 2022 7:50 pm
a) transient
b) volatile
c) global
d) No modifier is needed
b) volatile
c) global
d) No modifier is needed