We know earlier how to create single threads by extending Thread class and also by implementing Runnable interface. Now let us create multiple threads of different processes and execute them. Before going further, let us know what is lightweight process and heavyweight process. It is very necessary in multiple threads execution. What is Lightweight process […]
↧