Examveda
Examveda

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

C. global

D. No modifier is needed

Answer: Option B


This Question Belongs to Java Program >> Input Output

Join The Discussion

Related Questions on Input Output