7) How will you declare a timer variable that will be accessed by multiple threads very frequently?

  1. Declare the variable as volatile.

  2. not possible

  3. By java.util.*;

  4. By final keyword


Correct Option: A

Find more quizzes: