Interview Questions

When threads are not lightweight process in java?

Java Interview Questions and Answers (part 4)


(Continued from previous question...)

When threads are not lightweight process in java?

Threads are lightweight process only if threads of same process are executing concurrently. But if threads of different processes are executing concurrently then threads are heavy weight process.

(Continued on next question...)

Other Interview Questions