public class Threads4 implements Runnable
{
public static void main (
String[] args)
{
Thread t = new Thread(new Threads4());
t.run();
t.run();
t.start();
}
public void run()
{
System.out.println("running");
}
}
o/p is-- runningrunningrunning
Why this is printing 3 times the running.
Can anyone please expalin me this
Source " My own code "