Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   Multithreading in Java (http://siteownersforums.com/showthread.php?t=137602)

sonamsharma 12-22-2013 10:45 PM

Multithreading in Java
 
Hi
I want to about java multithreading."What is multithreading?"

shaadisankalp01 12-28-2013 03:26 AM

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.

dentalcare888 01-07-2014 02:12 AM

It is too hard to learn the JAVA.If you want to buy dental care products, you can click the athenadental.fr

alligatortek001 02-26-2014 12:53 AM

Quote:

Originally Posted by sonamsharma (Post 356803)
Hi
I want to about java multithreading."What is multithreading?"

Java provides built-in support for multithreaded programming. 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.

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.

senior 06-30-2014 11:01 PM

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.

BarryWillson 07-07-2014 01:23 AM

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.

yugant 09-23-2014 04:28 AM

Thanks for sharing it will nice post.

softech 10-09-2014 11:18 PM

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.