When threads are not lightweight process in java? What happens if an object is directly called by run() instead of Start().
If threads of different processes are executing concurrently then threads are heavy weight process. The code contained in the run() method in the thread in which the call occurred will be executed.
Comments
Leave a comment