Java multi-threading



Share on Google+Share on Google+

Java multi-threading
1 Answer(s)      7 years ago
Posted in : Java Interview Questions
What is multi-threading?
View Answers

October 22, 2010 at 11:39 AM


Here is the answer.

Multithreading is a technique that allows a program or a process to execute many tasks concurrently (at the same time and parallel). It allows a process to run its tasks in parallel mode on a single processor system

In the multithreading concept, several multiple lightweight processes are run in a single process/task or program by a single processor. For Example, When you use a word processor you perform a many different tasks such as printing, spell checking and so on. Multithreaded software treats each process as a separate program.

In Java, the Java Virtual Machine (JVM) allows an application to have multiple threads of execution running concurrently. It allows a program to be more responsible to the user. When a program contains multiple threads then the CPU can switch between the two threads to execute them at the same time.



Related Tutorials/Questions & Answers:
Java multi-threading
Java multi-threading  What is multi-threading
Java multi-threading
Java multi-threading  What method is invoked to cause an object to begin executing as a separate thread
Java multi-threading
Java multi-threading  How does multithreading take place on a computer with a single CPU
Multi-Threading - Java Beginners
Multi-Threading  Consider a producer process prime-generator produces prime numbers randomly that are displayed by a consumer process called prime... the previously displayed number. You have to write a multithreaded Java program
multi threading - Java Interview Questions
multi threading   1. extending a thread and 2. implementing runable interface is used in multi threading concept in both of this which one good... information over Multithreading concepts visit
multi threading code - Java Interview Questions
multi threading code  Hi this is Anji.My question is how to share the variable between two threads?.Can any one post the answer please
what is multi-threading .?
what is multi-threading .?   what is multi-threading.what is the use in real time, with example programs
Multi Threading is not working in that why...?
Multi Threading is not working in that why...?   import; import; import; import; import; import java.util.Date; public
Multi Threading
Multi Threading  Hi... I need to solve the following question: Input an array of 10 integers. Separate the odd numbers, even numbers, positive numbers and negative numbers by different threads. I tried to solve it but I dont
Java synchronization
Java synchronization  What is synchronization and why is it important?  Synchronization is best use with the Multi-Threading in Java. Synchronization is the way to make our program safe. As we know when we have two
Java JDBC  Is JDBC-ODBC bridge multi-threaded?  ... that it makes to ODBC. The multi-threaded java programs that use the bridge wouldn?t get the benefits of multi-threading. Also, there are chances of the occurrence
Java Synchronization
Java Synchronization  What is synchronization and why is it important?  Synchronization is best use with the Multi-Threading in Java. Synchronization is the way to make our program safe. As we know when we have two
java - JDBC
of the calls that it makes to ODBC. Multi-threaded Java programs may use the Bridge, but they won't get the advantages of multi-threading. The DriverManager class
What is difference between Core Java and Advanced Java?
of Java. In Core Java you are learning the syntax, OOPs, Classes, Interfaces, Multi threading concepts in Java. Core Java is used to develop console based.... Advanced Java Tutorials Introduction to Generics in Java Threading in Java
Java Introduction
on distributed computing It supports multi-threading Java is secure...In this section we will introduce Java to the beginners. We will discuss about what is Java, how it is used, its features, its purpose and about Java tools
java  what is the difference between vb and   Hi Friend, Differences: Visual Basic.NET is object oriented whereas VB 6 is not. Visual Basic.NET supports multi threading whereas VB does not. Visual basic.NET
tread - Java Beginners
with the Multi-Threading in Java, Synchronization is the capability to control the access...?  A thread is a thread of execution in a program. The Java Virtual... information, visit the following link:
Java Online Training in USA
, using I/O streams and files, object serialization multi-threading, using...Java Online Training in USA Java, an object oriented programming language.... Professionals from around the world often look for an online training course in Java
Java Training Online
a built in capacity to handle multi-threading. Owing to these reasons, the Java...Java Training Online The increasing use of Java in IT industry has opened floodgates of opportunities for those, trend in Java and its various applications
Introduction to Java
on multi-threading that makes the work easy and quick. Different threads...Java is an open source object oriented programming language... environment to code in. Hence they developed Java. The company was later overtaken
Java :Thread Synchronization
Java :Thread Synchronization This section explains how to use concept of synchronization in java Thread. Thread Synchronization : . Java supports multi... of program. So for the multi-threaded application, synchronization of java
Java Online Class
ability to handle multi-threading. Owing to these reasons a large number...Java Online Class The advent of e-learning has made learning fun, as students.... Students with interest in technology often wish to attain mastery over Java
Core Java Jobs at Rose India
be proficient in Multi-threading concepts Candidate must... Core Java Jobs at Rose India       This Core Java Job is unique among
Learn Java
. This language is considered easy and with multi-threading, exception handling...There is a need to learn Java programming in today?s world as it has become... Technology development. Java an Object Oriented based Programming language is being
Java 9 Features
will provide the better performance in the multi-threading environment when...Java 9 Features: First version of Java 9 Features announced The plan for the development of the Java is on full swing and oracle is announced the first
Core Java Training
Arrays Multi Threading Exception Handling Inheritance Polymorphism...Core Java training provided online by Roseindia covers the basic of Java... are also shown and discussed in detail. Java programming has become quintessential
Java Tutorial
-independent language. It supports Multi-threading, distributed, and dynamic...In this section we will discuss about the Java Programming Language. This tutorial covers all the topics of Java Programming Language. In this section you
Impeccable Training for Java - Corporate Java Tutorials
. Multi-threading Enabled: Performing multiple tasks at a time and improving interactive performance is one of the specialities of multi-threaded Java. The smooth...Impeccable Training for Java - Corporate Java Tutorials The class-based
java  diff bt core java and java
java  what is java
java   why iterator in java if we for loop


Advertisement null