1.

Which of these classes can schedule task for execution in future?(a) Thread(b) Timer(c) System(d) ObserverI got this question in final exam.This interesting question is from Observable & Timer Class topic in division java.util – More Utility Classes of Java

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