PSYCHOCODES

Thread Synchronization Program in Java-Multithreading

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.

Read more

First Come First Serve(FCFS) Program in Java

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.

Read more

Java Program to Print Random Words

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.

Read more

Vampire Number Program in Java

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

Read more