Purpose:
Think of a scenario where I want my code to execute at a particular time in my application or at sometime later from the current time. In other words, I want to schedule my task at the definite time. How can this be possible using Java Programming language?
Introduction:
Java Timer class (java.util.Timer) allows an application to schedule the task on a separate background thread.