# Class TimerTask

java.lang.Object
java.util.TimerTask

All Implemented Interfaces:
  `Runnable`

public abstract class TimerTask extends Object implements Runnable

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `TimerTask()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `cancel()`
  `long`
  `scheduledExecutionTime()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Runnable

  `run`

- ## Constructor Details

  - ### TimerTask

    protected TimerTask()

- ## Method Details

  - ### cancel

    public boolean cancel()

  - ### scheduledExecutionTime

    public long scheduledExecutionTime()