InterviewSolution
Saved Bookmarks
| 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?(a) transient(b) volatile(c) global(d) No modifier is neededI got this question in final exam.Enquiry is from Applets Fundamentals in division I/O & Applets of Java |
|
Answer» The correct option is (B) volatile |
|