start() method: If we call start() method then it will create new thread and
start() method in the thread class is responsible for registering your thread
with Thread Scheduler then it will call run() method.
run() method: If we call run() method then it won't create any new thread and we are not performing any registration with Thread Scheduler. It will call just like a normal method.
run() method: If we call run() method then it won't create any new thread and we are not performing any registration with Thread Scheduler. It will call just like a normal method.
No comments:
Post a Comment