Home / CSE MCQs / Spring MCQs :: Discussion

Discussion :: Spring MCQs

  1. Which package is used for periodic work
  2. A.
    java.lang.Thread
    B.
    java.util.TimerTask
    C.
    java.util.Timer
    D.
    java.util.concurrent

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Java 1.3 saw the introduction of java.util.TimerTask to support doing some sort of work periodically.


Be The First To Comment