![]() |
Multithreading in Java
Hi
I want to about java multithreading."What is multithreading?" |
Java is fully object oriented programming language. A multithreaded program contains two or more parts that can run concurrently. Each part of such a program is called a thread, and each thread defines a separate path of execution.
|
It is too hard to learn the JAVA.If you want to buy dental care products, you can click the athenadental.fr
|
Quote:
A multithreading is a specialized form of multitasking. Multithreading requires less overhead than multitasking processing. I need to define another term related to threads: process: A process consists of the memory space allocated by the operating system that can contain one or more threads. A thread cannot exist on its own; it must be a part of a process. A process remains running until all of the non-daemon threads are done executing. Multithreading enables you to write very efficient programs that make maximum use of the CPU, because idle time can be kept to a minimum. |
Java is a multithreaded programming language which means we can develop multithreaded program using Java. A multithreaded program contains two or more parts that can run concurrently and each part can handle different task at the same time making optimal use of the available resources specially when your computer has multiple CPUs.
Multithreading enables you to write in a way where multiple activities can proceed concurrently in the same program. |
Java is a threaded programming language ,that divide the entire program in to multiple thread and each thread have contain different task . when the start the working flow of java then all thread combine together and follow some rules for executing the program.
|
Thanks for sharing it will nice post.
|
Java is fully object oriented programming language. A multithreaded program contains two or more parts that can run concurrently. Each part of such a program is called a thread, and each thread defines a separate path of execution
|
All times are GMT -7. The time now is 02:22 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.