1.

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

Answer»

Which of these modifiers can be used for a variable so that it can be accessed from any THREAD or parts of a PROGRAM?
Choose the correct OPTIONS from below list
(1)transient
(2)No modifier is needed
(3)global
(4)VOLATILE

Answer:-(4)volatile



Discussion

No Comment Found