In this tutorial, we will see how to execute threads in synchronisation (one by one) and we will also see how threads got executed without synchronisation.
- 16 August 2017
- Mohd Shibli
A processor handles multiple processes and assigns them to CPU on the basis of a particular algorithm which is known as a scheduling algorithm. In this tutorial, we are going to see a popular scheduling algorithm known as FIRST COME FIRST SERVE algorithm.
In this tutorial, we will learn how to print random words using Java, we are going to use the rand() method of Math Class, rand() returns a double number ranging from 0 .0 to 1.0.
Vampire number is a composite natural number with even number of digits, which can be broken down into two numbers of equal length, and the multiplication of those two numbers will be equal to the original number