title: How to stop the task scheduled in java.util.Timer class
body: <p>I am using <code>java.util.Timer</code> class and I am using its schedule method to perform some task, but after executing it for 6 times I have to stop its task.</p>
  <p>How should I do that?</p>