MultiThreading
Q. What is Multithreading? A. Multithreading in java is a process of executing multiple threads simultaneously. Q. What is process? A. A process is an instance of a computer program that is being executed. Q. What is Thread in java? A. A tread is a light weight process. A thread class belongs to java.lang package. We can create multiple threads in java, even if we don’t create any Thread, one Thread at least do exist i.e. main thread. Multiple threads run parallely in java. Q. What is difference between Process and Thread in java? Thread Pro...