1.

Which of these classes can schedule task for execution in future?(a) Thread(b) Timer(c) System(d) Observer

Answer» The correct choice is (b) Timer

To explain I would say: Timer and TimerTask are the classes that support the ability to schedule tasks for execution at some future time.


Discussion

No Comment Found

Related InterviewSolutions