Can Thread method be used in my class without extending Thread Class
<p>I am new to threads and while learning it i cant understand the following,</p>

<pre><code>public class myClass 
{ 
    public static void main(String args[]) throws InterruptedException
    {
        String[] myString = {"Object","Classes","Static","Final"};
        for(int i=0;i&lt;myString.length;i++)
        {
            System.out.println(myString[i]);
            Thread.sleep(2000);
        }
    }
}
</code></pre>

<p>How come I'm able to use thread method without extending Thread class?</p>
