Which Of These Modifiers Can Be Used For A Variable So That It #962
Which of these modifiers can be used for a variable so that it can be accessed from any thread or parts of a program?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java IO Applets - Java Applets Fundamentals - Quiz No.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?
transient
volatile
global
No modifier is needed