Senthil Kumar Sekar wrote:
Actually iam not passing any Runnable object.I am just creating it by
Thread thread = new java.lang.Thread();
thread.start();
iam not creating the object for subclass of Java.lang.Thread.
What does this indicate?
thread.run() will eventually be called
Because you have neither extends Thread to override the run method nor passing any Runnable object, it won't do anything and return.
You can check the source code of "Thread" class to know more about the details.