Hi
chintan ramavat..
if it's that then i think i got it, but what if one thread is already running the RUN(). can you please elaborate more on that?
If I am write you are talking about calling run() method from two different threads at the same time..
Ofcourse, that is possible
provided run() method is not synchronized..
And about your above query..
When you simply invoke run() method on the instance of a Thread, no new thread is created, main thread itself executes that method, which you can confirm by printing the stack trace..
However when you invoke the native start() method of Thread, it by its implementation, starts a new thread and invoke the run method.. You will have a different stack trace for this thread..
Regards..