This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started? i want to know the difference between process and threads,explain me with example
The important difference on most operating systems is that each process has its own address space -- its own virtual mapping of numeric memory addresses -- while multiple threads share the address space of the process they belong to. Each time you launch a program in Windows, you're getting a new process. In Java, you can create processes with the overloaded java.lang.Runtime.exec() methods.