Task public class Task extends Object implements Runnable A periodic action. A Task represents a bit of code that you want to run repeatedly at equally-timed intervals. Doing the timing yourself via sleeps is either inaccurate, since it depends on how long the task takes to run, or else complicated. Well, this class does the timing accurately but hides the complexity from you.
Tasks use the Runnable interface, just like Threads.
Fetch the entire Acme package. Constructor with a Runnable specified. The body of the Task. Constructor with a Runnable specified. The body of the Task.