Jumat, 24 Februari 2017

How multithreading works in java programming

In this article we will learn what is multithreading and how to create and use threads in Java programs.   Background Information Multitasking: Ability to execute two or more tasks in parallel or simultaneously is known as multitasking. Multitasking is of two types: 1) Process based multitasking and 2) Thread based multitasking. Process based multitasking: Executing two or more processes simultaneously is known as process based multitasking. For example, we can listen to music and browse internet at the same time. The processes in this example are the music player and browser. Thread based multitasking: Thread is a part of process

The post How multithreading works in java programming appeared first on Coding Security.


How multithreading works in java programming
read more

Tidak ada komentar:

Posting Komentar